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

Marcel Reutegger commented on OAK-3103:
---------------------------------------

Changed MongoDocumentStore to perform an update instead of findAndModify for a 
conditional update and unconditionally put the document into the cache if the 
before document is known. This makes the test fail more likely.

Done in trunk: http://svn.apache.org/r1691159

> Stale document in MongoDocumentStore cache
> ------------------------------------------
>
>                 Key: OAK-3103
>                 URL: https://issues.apache.org/jira/browse/OAK-3103
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core, mongomk
>    Affects Versions: 1.2.2, 1.3.2, 1.0.17
>            Reporter: Marcel Reutegger
>            Assignee: Marcel Reutegger
>
> In some rare cases it may happen that a stale document is put into the 
> MongoDocumentStore cache.



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

Reply via email to