[ 
https://issues.apache.org/jira/browse/OAK-4497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15347968#comment-15347968
 ] 

Julian Reschke commented on OAK-4497:
-------------------------------------

{{tracker}} will always be non-null; it is set when collection == NODES, and if 
the collection wasn't NODES, we wouldn't have a cached document in the first 
place. -> Will improve code comments.

> RDBDocumentStore: potential race condition between update and invalidate can 
> cause stale cache entries
> ------------------------------------------------------------------------------------------------------
>
>                 Key: OAK-4497
>                 URL: https://issues.apache.org/jira/browse/OAK-4497
>             Project: Jackrabbit Oak
>          Issue Type: Technical task
>          Components: rdbmk
>    Affects Versions: 1.0.31, 1.4.3, 1.2.16, 1.5.4
>            Reporter: Julian Reschke
>            Assignee: Julian Reschke
>              Labels: candidate_oak_1_0, candidate_oak_1_2, candidate_oak_1_4
>             Fix For: 1.6, 1.0.32, 1.4.4, 1.2.17
>
>         Attachments: OAK-4497-1.4.diff, OAK-4497.diff, OAK-4497.diff
>
>
> The test in OAK-4489 shows that concurrency of queries and invalidations can 
> cause validations to be lost, leading to stale content in the cache.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to