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

Julian Reschke commented on OAK-3634:
-------------------------------------

[~mreutegg]: if I understand correctly, the change clears the cache at the end 
of the method call. Doesn't that mean that we still have time window in which 
the cache contains the incorrect entries? Shouldn't we avoid updating the cache 
in the first place?

> RDB/MongoDocumentStore may return stale documents
> -------------------------------------------------
>
>                 Key: OAK-3634
>                 URL: https://issues.apache.org/jira/browse/OAK-3634
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: mongomk, rdbmk
>    Affects Versions: 1.2.7, 1.3.10, 1.0.23
>            Reporter: Julian Reschke
>            Assignee: Marcel Reutegger
>             Fix For: 1.4
>
>         Attachments: OAK-3634.diff, OAK-3634.diff, OAK-3634.patch
>
>
> It appears that the implementations of the {{update}} method sometimes 
> populate the memory cache with documents that do not reflect any current or 
> previous state in the persistence (that is, miss changes made by another 
> node).
> (will attach test)



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

Reply via email to