[
https://issues.apache.org/jira/browse/OAK-3566?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15000217#comment-15000217
]
Thomas Mueller commented on OAK-3566:
-------------------------------------
In any case (independent on whether a global filter or local filters are used),
I think it is required that the entry is added to the filter _before_ the
update, and before the cache is invalidated. It needs to stay in that filter
until after the update was successful. So basically, 1) add a flag to ensure
the entry is not added or updated in the cache, 2) invalidate the cache entry,
3) update in the backend storage, 4) re-allow adding the entry to the cache.
> Stale documents in RDBDocumentStore cache
> -----------------------------------------
>
> Key: OAK-3566
> URL: https://issues.apache.org/jira/browse/OAK-3566
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: core, rdbmk
> Affects Versions: 1.0, 1.2
> Reporter: Marcel Reutegger
> Assignee: Julian Reschke
> Fix For: 1.3.11
>
> Attachments: OAK-3566-test.patch, OAK-3566.diff, OAK-3566.patch
>
>
> This issue is about the same problem as described in OAK-1897 but for the
> RDBDocumentStore implementation.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)