You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Tomek Rękawek (JIRA)" <ji...@apache.org> on 2017/06/14 10:13:00 UTC

[jira] [Created] (OAK-6347) Don't track local changes in the document cache tracker

Tomek Rękawek created OAK-6347:
----------------------------------

             Summary: Don't track local changes in the document cache tracker
                 Key: OAK-6347
                 URL: https://issues.apache.org/jira/browse/OAK-6347
             Project: Jackrabbit Oak
          Issue Type: Improvement
          Components: documentmk
            Reporter: Tomek Rękawek


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]



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)