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

SplitDocumentCleanup iterates twice over splitDocGarbage

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.7.0, 1.6.2, 1.4.19, 1.8.0
    • documentmk
    • 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.

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: