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 "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2015/10/29 10:52:27 UTC

[jira] [Updated] (OAK-3566) Stale documents in RDBDocumentStore cache

     [ https://issues.apache.org/jira/browse/OAK-3566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marcel Reutegger updated OAK-3566:
----------------------------------
    Attachment: OAK-3566.patch

Attached patch is a modified version of the patch provided by Julian in OAK-1897 for RDBDocumentStore test. The initial patch did not reproduce the issue, because the RDBDocumentStore.invalidateCache() method does not actually remove the document from the cache, but only resets the timestamp when the document was created/modified.

I changed the test to make sure the document is indeed not in the cache and now the test fails.

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