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:23:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16049019#comment-16049019 ] 

Tomek Rękawek commented on OAK-6347:
------------------------------------

Patch proposal attached.

> 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
>         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)