Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
trunk
-
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.