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

DocumentNodeStore may accumulate split candidates

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.38.0
    • 1.40.0, 1.22.7
    • documentmk
    • None

    Description

      This is a regression introduced by OAK-9149. The split candidates in DocumentNodeStore may contain document IDs that actually don't need to be split. Commit#checkSplitCandidate() does a very quick check based on the size of the document and then leaves it to the background update to perform more thorough check and perform the split if necessary. As of OAK-9149, an ID for a document that does not need to be split in the background update is not removed from the split candidates and the background update checks it in every cycle. It is also possible that distinct split candidates accumulate over time and slow down the background operation significantly.

      Attachments

        Issue Links

          Activity

            People

              mreutegg Marcel Reutegger
              mreutegg Marcel Reutegger
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: