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

Import Service: Migration Import: Provide Ability to Resume from Last Successfully Imported State

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • trunk
    • trunk
    • atlas-core
    • None

    Description

      Background

      The new Migration Import implementation allows for importing large zip files. These imports can potentially run for long time. If the server shuts down while an import is in progress, there needs to be a mechanism so that the import resumes from the last imported entity.

      Solution

      • Implement DataMigrationStatusService this will maintain a special vertex one of whose property will be the last successfully imported status.
      • Update this vertex on each successfully recorded import.
      • At the start of ZipFileBaseMigration check for existence of this vertex. If it exists and has a valid position, use this to set the startPosition in the AtlasImportRequest

      Attachments

        Issue Links

          Activity

            People

              amestry Ashutosh Mestry
              amestry Ashutosh Mestry
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: