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

Retry Persisted merge

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.12
    • core, mk, mongomk
    • None

    Description

      This is similar to OAK-1198, but for the Persisted state in AbstractNodeStoreBranch. OAK-1186 describes a case when a retry of a Persisted merge would help to overcome a conflict.

      Compared to OAK-1198, the situation is a bit more difficult. The Persisted.merge() method performs the following actions:

      1. rebase the branch
      2. run commit hook on the branch
      3. persist changes introduced by hook to the branch
      4. merge the branch

      The problem with the current implementation is that it cannot be retried if the conflict is introduced by the commit hook and is only detected in step 4) when the branch is merged. It is currently not possible to efficiently reset the branch to a previous state. This missing feature also blocks OAK-1056.

      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: