Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-3775

Migration Import Display: Incorrect Status Display

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: trunk
    • Fix Version/s: 2.1.0, 3.0.0
    • Component/s: atlas-core
    • Labels:
      None

      Description

      Background

      Zip file based migration introduced DataMigrationStatusService. This class is responsible for displaying the status.

      Steps to Duplicate

      Pre-requisites:

      • Keep the REST http://<server>/api/atlas/admin output open in a browser window.
      • Keep zip-file based migration import in progress.
      • Ensure that you see the current status. Once migration progress, refresh the REST API output to display the status. The status should be accurate.
      • Refresh the REST API output after 5 mins. This will expire the status cache and make a request to DataMigrationService for status.

      Expected results

      • Status returned by API should reflect the status logged.

       

      Actual results

      • There is a mismatch in the status.
      • Additional information: The status is never updated for that session.

      Root cause:

      DataMigrationService maintains cached status object for each requestor. This is not refreshed from the database status.

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                amestry Ashutosh Mestry
                Reporter:
                amestry Ashutosh Mestry
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: