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

Retry InMemory merge

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.12
    • core
    • None

    Description

      AbstractNodeStoreBranch should retry an InMemory.merge() when the operation fails to persist the changes. Even though KernelNodeStoreBranch acquires a merge lock and therefore serializes merges in one Oak instance, it may still happen that other Oak instances concurrently persist changes with conflicting editor changes. In this case a retry, including a rebase may not show these conflicts anymore.

      One specific example is OAK-1187, when multiple Oak instances concurrently try to create /jcr:system/rep:permissionStore/default/everyone.

      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: