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

IndexCopier causes concurrent update on NodeBuilder

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.15, 1.2.3, 1.4.0
    • 1.5.16, 1.6.0, 1.4.18, 1.0.40, 1.2.28
    • lucene
    • None

    Description

      OAK-2247 introduced the copy-on-write feature for lucene index in Oak. This feature may result in a NodeBuilder updated by multiple threads concurrently. New index files are first stored on the local filesystem and then copied asynchronously into the repository. At the same time the async index update thread manipulates the node builders as well.

      With MongoMK this results in unexpected conflicts and failed async index updates.

      Attachments

        1. OAK-5238-2.patch
          24 kB
          Marcel Reutegger
        2. OAK-5238-1.patch
          29 kB
          Marcel Reutegger
        3. OAK-5238.patch
          8 kB
          Marcel Reutegger

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: