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

Export Service: Incremental Export: Next Increment Should Consider All Existing Request Contexts

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.8.3
    • 0.8.3, 1.2.0, 2.0.0
    • atlas-core
    • None

    Description

      Background

      When performing incremental Export, the existing implementation computes the next increment timestamp by finding the maximum value of exported entities' modificationTimestamp. This may work for majority of cases, however it has a drawback.

      Consider a scenario where export is in progress and one of the entities that has already been written to the zip stream is modified by another request, this will be missed from the the subsequent export operation.

      Solution Approach

      • Compute timestamps by enumerating all the requests in progress and finding the earliest request. If no requests in progress, return current timestamp.
      • Use the timestamp from step above for the change timestamp in AtlasExportResult.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: