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

Parallel execution of ConcurrentReadAccessControlledTreeTest fails with MongoMK

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.10
    • 0.14
    • benchmarks, core, mongomk
    • None

    Description

      The is caused by concurrent creation of test content and the conflict it creates in the index. Every Oak test instance tries to create /oak:index/nodetype/:index/nt%3Afile, but only one will succeed. AFAICS there are two options how to handle this:

      • Implement conflict annotation (OAK-1185), though I'm not sure this will really work. On commit, the rebase happens first, when changes from the other Oak instance may not be visible yet. Then, the commit hook runs and perform another branch commit with the changes, which works fine. Only the last step fails, when MongoMK tries to merge the branch. This is the point when the conflict may be detected.
      • Implement a retry logic in MongoMK/NS

      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: