Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
SplitDocumentCleanup currently iterates twice over splitDocGarbage.
NOTE: not the case for Mongo DB, as MongoVersionGCSupport overwrites deleteSplitDocuments().
deleteSplitDocuments() currently iterates over splitDocGarbage to obtain the IDs of the documents to be deleted. Instead, we could just collect the IDs inside disconnect(), the memory requirements would be the same.