Uploaded image for project: 'Migration Platform'
  1. Migration Platform
  2. MIG-2201

Upgrading to JCMA 1.12.23 and 1.12.25 or downgrading JCMA from those versions may re-trigger old app migrations

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Highest Highest
    • None
    • JCMA - 1.12.23
    • None
    • Severity 2 - Major
    • Hide

      We are working on a fix and expect to deliver it in a week.

      Show
      We are working on a fix and expect to deliver it in a week.

      Issue Summary

      When upgrading or downgrading JCMA versions 1.12.23, 1.12.25 this may incorrectly re-trigger app migrations in already completed plans

      Steps to Reproduce

      1. Run a migration with apps on JCMA 1.12.22
      2. Let the app migration settle
      3. Upgrade to JCMA 1.12.23 
      4. App migrations will incorrectly try to start on the previous migration plan

      Expected Results

      App migrations should not start when upgrading JCMA 

      Actual Results

      You can see app migrations trying to start from the log line

      2025-02-20 05:36:42,444 JCMA-MigrationEventBus-pool-1-thread-66 INFO      [jira.migration.app.AppMigrationTrigger] Obtained lock for migrationId: 95405616-f054-443d-ad79-8d7db0bee6f2
      2025-02-20 05:36:42,444 JCMA-MigrationEventBus-pool-1-thread-66 INFO      [jira.migration.app.AppMigrationTrigger] migrationId 95405616-f054-443d-ad79-8d7db0bee6f2 was not found in cache
      2025-02-20 05:36:42,444 JCMA-MigrationEventBus-pool-1-thread-66 INFO      [jira.migration.app.AppMigrationTrigger] Saving migrationId 95405616-f054-443d-ad79-8d7db0bee6f2 into cache

      Workaround

      You have two options

      1. Don't upgrade to 1.12.23 and 1.12.25 until we have released a fix
      2. Delete the plans with settled app migrations in database in `AO_6FF49D_PLAN_ENTITY` and `AO_6FF49D_MIGRATION_ENTITY` tables

            [MIG-2201] Upgrading to JCMA 1.12.23 and 1.12.25 or downgrading JCMA from those versions may re-trigger old app migrations

            David Yu added a comment -

            Please upgrade to 1.12.26+ to avoid potentially re-triggering your old app migrations

            David Yu added a comment - Please upgrade to 1.12.26+ to avoid potentially re-triggering your old app migrations

              6ec6a48ca208 David Yu
              6ec6a48ca208 David Yu
              Affected customers:
              0 This affects my team
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: