jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chetan Mehrotra (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OAK-1865) Blob garbage collector deletes referenced blobs for Jackrabbit 2.x DataStores
Date Tue, 03 Jun 2014 05:28:01 GMT

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

Chetan Mehrotra commented on OAK-1865:
--------------------------------------

bq. I think the problem is that for each call, a new peekingIterator is created. The peekingIterator
needs to be re-used for this to work.

aah missed the fact that PeekingIterator would have a state which cannot be discarded. Yes
it would need to be reused. Thanks Thomas !! Would apply the patch

> Blob garbage collector deletes referenced blobs for Jackrabbit 2.x DataStores
> -----------------------------------------------------------------------------
>
>                 Key: OAK-1865
>                 URL: https://issues.apache.org/jira/browse/OAK-1865
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>    Affects Versions: 1.0
>            Reporter: Amit Jain
>            Assignee: Chetan Mehrotra
>            Priority: Critical
>             Fix For: 1.0.1, 1.1
>
>         Attachments: OAK-1865-b.patch, OAK-1865-nobuffer.patch, OAK-1865-testcase.patch,
OAK-1865.patch
>
>
> Garbage collection logic deletes referenced blobs also resulting in data loss. 
> This happens because of not taking into account the referenced inlined blobs for the
Jackrabbit 2.x DataStores.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message