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

Improve collision handling performance

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.20.0
    • documentmk
    • None

    Description

      The current collision handling on conflict in the DocumentNodeStore can be rather expensive when there are old branch commits which were not merged.

      A commit that includes documents with old branch commits that have not been merged will always attempt to set a collision marker on the commit root document for those changes.

      While it is difficult to tell whether a branch commit will be merged at some point, at least those branch commits that were created before the most recent startup of a cluster node cannot be merged. The collision handling logic could be improved to take the start time of a cluster node into account.

      Attachments

        1. OAK-8623.patch
          21 kB
          Marcel Reutegger
        2. OAK-8623-2.patch
          26 kB
          Marcel Reutegger

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: