Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-5878

SplitDocumentCleanup iterates twice over splitDocGarbage

    XMLWordPrintableJSON

    Details

      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.

        Attachments

        1. OAK-5878.diff
          5 kB
          Julian Reschke
        2. OAK-5878-2.diff
          4 kB
          Julian Reschke

          Activity

            People

            • Assignee:
              reschke Julian Reschke
              Reporter:
              reschke Julian Reschke
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: