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 "Julian Reschke (JIRA)" <ji...@apache.org> on 2016/01/13 07:12:40 UTC

[jira] [Assigned] (OAK-3872) [RDB] Updated blob still deleted even if deletion interval lower

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

Julian Reschke reassigned OAK-3872:
-----------------------------------

    Assignee: Julian Reschke

> [RDB] Updated blob still deleted even if deletion interval lower
> ----------------------------------------------------------------
>
>                 Key: OAK-3872
>                 URL: https://issues.apache.org/jira/browse/OAK-3872
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: blob, rdbmk
>            Reporter: Amit Jain
>            Assignee: Julian Reschke
>         Attachments: OAK_3872.patch
>
>
> If an existing blob is uploaded again, the timestamp of the existing entry is updated in the meta table. Subsequently if a call to delete (RDBBlobStore#countDeleteBlobs) is made with {{maxLastModifiedTime}} parameter of less than the updated time above, the entry in the meta table is not touched but the data table entry is wiped out. 
> Refer https://github.com/apache/jackrabbit-oak/blob/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/rdb/RDBBlobStore.java#L510



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