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

Don't track local changes in the document cache tracker

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.7.12, 1.8.0
    • documentmk
    • None

    Description

      The cache tracker, introduced in OAK-4112 allows to avoid locking when updating the document cache.

      Apparently, we also track changes made by the local thread. As a result, if we update a large range of documents, the false-positive error rate increases over time, even if there are no other threads running and updating the cache.

      We should only track cache updates made by other threads to avoid this.

      //cc: chetanm, mreutegg

      Attachments

        1. OAK-6347.patch
          4 kB
          Tomek Rękawek

        Issue Links

          Activity

            People

              tomek.rekawek Tomek Rękawek
              tomek.rekawek Tomek Rękawek
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: