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/11/20 11:34:00 UTC
[jira] [Resolved] (OAK-6347) Don't track local changes in the
document cache tracker
[ https://issues.apache.org/jira/browse/OAK-6347?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tomek Rękawek resolved OAK-6347.
--------------------------------
Resolution: Fixed
> 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
> Assignee: Tomek Rękawek
> Fix For: 1.8, 1.7.12
>
> Attachments: OAK-6347.patch
>
>
> 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)