
============================================================================
MARS-828 Rollback Starting
============================================================================
WARNING: This will restore FILE_ARCHIVER to v2.0.0

CRITICAL IMPACT:
1. All archival strategies revert to THRESHOLD_BASED
2. ARCHIVAL_STRATEGY and MINIMUM_AGE_MONTHS columns will be dropped
3. Validation trigger will be removed
4. Reconfigure archival thresholds after rollback

Timestamp:

ROLLBACK_START         
______________________ 
2026-01-29 19:52:12    

Elapsed: 00:00:00.068
============================================================================
Type YES to continue with rollback, or Ctrl+C to abort: YES
old:BEGIN
    IF '&continue' IS NULL OR TRIM('&continue') IS NULL OR UPPER(TRIM('&continue')) != 'YES' THEN
        RAISE_APPLICATION_ERROR(-20001, 'Rollback aborted by user');
    END IF;
END;

new:BEGIN
    IF 'YES' IS NULL OR TRIM('YES') IS NULL OR UPPER(TRIM('YES')) != 'YES' THEN
        RAISE_APPLICATION_ERROR(-20001, 'Rollback aborted by user');
    END IF;
END;

PL/SQL procedure successfully completed.

Elapsed: 00:00:00.096

Step 1/6: Restoring FILE_ARCHIVER Package Specification v2.0.0
===============================================================

Package CT_MRDS.FILE_ARCHIVER compiled

Elapsed: 00:00:00.382

Step 2/6: Restoring FILE_ARCHIVER Package Body v2.0.0
======================================================

Package Body CT_MRDS.FILE_ARCHIVER compiled

Elapsed: 00:00:00.288

Step 3/6: Dropping validation trigger
======================================
========================================
MARS-828: Dropping archival strategy validation trigger
========================================

Trigger CT_MRDS.TRG_BI_A_SRC_FILE_CFG_ARCH_VAL dropped.

Elapsed: 00:00:00.193

   TRIGGER_COUNT 
________________ 
               0 

Elapsed: 00:00:00.335
========================================
Validation trigger dropped successfully
========================================

Step 4/6: Dropping archival strategy columns
=============================================
========================================
MARS-828: Removing archival strategy columns
========================================

Table CT_MRDS.A_SOURCE_FILE_CONFIG altered.

Elapsed: 00:00:00.131

Table CT_MRDS.A_SOURCE_FILE_CONFIG altered.

Elapsed: 00:00:00.206

no rows selected
Elapsed: 00:00:00.341
========================================
Archival strategy columns removed successfully
========================================

Step 5/6: Tracking rollback version
====================================
========================================
Package Version Tracking
========================================
EnvironmentID set to: dev
[2026-01-29 19:52:16] [INFO] ENV_MANAGER.TRACK_PACKAGE_VERSION: Start TRACK_PACKAGE_VERSION
[2026-01-29 19:52:17] [INFO] ENV_MANAGER.TRACK_PACKAGE_VERSION: End TRACK_PACKAGE_VERSION - Record inserted

Summary:
--------
Packages tracked: 1/1

Tracked Packages:
  CT_MRDS.FILE_ARCHIVER v2.0.0
========================================


PL/SQL procedure successfully completed.

Elapsed: 00:00:01.230

Step 6/6: Verifying tracked packages
=====================================

========================================
Package Version Verification
========================================


PACKAGE_OWNER    PACKAGE_NAME        VERSION    STATUS                                                 
________________ ___________________ __________ ______________________________________________________ 
CT_MRDS          DATA_EXPORTER       2.6.3      OK: Package CT_MRDS.DATA_EXPORTER has not changed.
Last Tracked: 2026-01-28 19:18:36
Version: 2.6.3                                                                                                                                                                                                                                                                                                                                
CT_MRDS          ENV_MANAGER         3.2.0      OK: Package CT_MRDS.ENV_MANAGER has not changed.
Last Tracked: 2026-01-28 19:18:36
Version: 3.2.0                                                                                                                                                                                                                                                                                                                                  
CT_MRDS          FILE_ARCHIVER       2.0.0      OK: Package CT_MRDS.FILE_ARCHIVER has not changed.
Last Tracked: 2026-01-29 19:52:17
Version: 2.0.0                                                                                                                                                                                                                                                                                                                                
CT_MRDS          FILE_MANAGER        3.4.0      OK: Package CT_MRDS.FILE_MANAGER has not changed.
Last Tracked: 2026-01-26 11:42:32
Version: 3.4.0                                                                                                                                                                                                                                                                                                                                 
CT_MRDS          WORKFLOW_MANAGER    1.7.1      OK: Package CT_MRDS.WORKFLOW_MANAGER has not changed.
Last Tracked: 2025-11-25 16:00:36
Version: 1.7.1                                                                                                                                                                                                                                                                                                                             
ODS              FILE_MANAGER_ODS    2.1.0      WARNING: Package ODS.FILE_MANAGER_ODS has changed!
========================================
Last Tracked Version: 2.1.0
Last Tracked Date: 2025-11-26 08:58:57

BODY Changed:
  Current Hash: 1d167a53256c10dd...
  Last Hash:    NULL...

RECOMMENDATION:
1. Update PACKAGE_VERSION constant
2. Update PACKAGE_BUILD_DATE constant
3. Add entry to VERSION_HISTORY
4. Call TRACK_PACKAGE_VERSION to update tracking    
Elapsed: 00:00:00.448

========================================
Verification Complete
========================================

Legend:
OK - Package has not changed since last tracking
WARNING - Package code changed without version update

For detailed hash information, use:
SELECT ENV_MANAGER.GET_PACKAGE_HASH_INFO('OWNER', 'PACKAGE') FROM DUAL
========================================

Verification: Package Compilation Status
=========================================

OBJECT_NAME      OBJECT_TYPE     STATUS    LAST_DDL_TIME    
________________ _______________ _________ ________________ 
FILE_ARCHIVER    PACKAGE         VALID     29-JAN-26        
FILE_ARCHIVER    PACKAGE BODY    VALID     29-JAN-26        

2 rows selected. 

Elapsed: 00:00:00.202

============================================================================
MARS-828 Rollback Completed
============================================================================
Completion Time:

ROLLBACK_END           
______________________ 
2026-01-29 19:52:20    

1 row selected. 

Elapsed: 00:00:00.061

Rollback Summary:
- Package: CT_MRDS.FILE_ARCHIVER
- Restored Version: 2.0.0 (THRESHOLD_BASED archival only)
- Removed Features: CURRENT_MONTH_ONLY, MINIMUM_AGE_MONTHS, HYBRID strategies

Log file: log/ROLLBACK_MARS_828_G45C5E88148E17E_GGMICHALSKI_20260129_195211.log
============================================================================
