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

Francesco Mari commented on OAK-4740:
-------------------------------------

At r1758775 I parameterised the strategy for the recovery of a segment. The 
code is functionally equivalent to the previous revision, but now it would be 
possible to create a different implementation of the {{TarRecovery}} interface 
that would parse the segment to extract derived data.

> TarReader recovery skips generating the index and binary graphs
> ---------------------------------------------------------------
>
>                 Key: OAK-4740
>                 URL: https://issues.apache.org/jira/browse/OAK-4740
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: segment-tar
>            Reporter: Alex Parvulescu
>            Assignee: Francesco Mari
>             Fix For: Segment Tar 0.0.12
>
>
> As noticed from the tar recovery bits [0] the resulting tar file would lack 
> the binary reference graph and index graph. This has implications on the DSGC 
> (not properly reporting binary references would result in binaries being 
> GC'ed) and GC operations.
> / cc [~frm], [~mduerig]
> [0] 
> https://github.com/apache/jackrabbit-oak/blob/trunk/oak-segment-tar/src/main/java/org/apache/jackrabbit/oak/segment/file/TarReader.java#L216



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

Reply via email to