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

Migration Import: EntityConsumer Adds GUIDs to Result that Will Not Get Cleared

    XMLWordPrintableJSON

Details

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

    Description

      Background

      Zip file-based migration import introduced EntityConsumer. This uses StatusReporter that is used to determine which which of the produced items are processed. This, in turn, helps determine the right position to set in case of resuming the import.

      The EntityConumer class is responsible for adding the right GUIDs to the result that helps StatusReporter determine the right GUIDs. This is done correctly except that it also adds additional GUIDs that were updated or deleted. This causes StatusReporter.processedSet to be filled with GUIDs that will never be cleared. This will grow over time and can potentially lead to memory pressure.

      Solution

      Add only the GUIDs that were processed.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: