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

Stale cluster ids can potentially lead to lots of previous docs traversal in NodeDocument.getNewestRevision

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.4.0
    • 1.4.4, 1.5.3, 1.6.0
    • documentmk
    • None

    Description

      When some (actual test case and conditions still being investigated) of the following conditions are met:

      • There are property value changes from different cluster id
      • There are very old and stale cluster id (probably older incarnations of current node itself)
      • A parallel background split removes all _commitRoot, _revision entries such that the latest one (which is less that baseRev) is very old

      , finding newest revision traverses a lot of previous docs. Since root document gets split a lot and is a very common commitRoot (thus participating during checkConflicts in lot of commits), the issue can slow down commits by a lot

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: