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

Timothee Maret commented on OAK-4926:
-------------------------------------

Thanks [~frm] for looking at this and for the suggestion. Please find a 
simplified patch attached.

> o.a.j.o.s.s.c.StandbyClientSyncExecution#isLocal should expect missing segment
> ------------------------------------------------------------------------------
>
>                 Key: OAK-4926
>                 URL: https://issues.apache.org/jira/browse/OAK-4926
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: segment-tar
>    Affects Versions: Segment Tar 0.0.14
>            Reporter: Timothee Maret
>            Assignee: Timothee Maret
>             Fix For: Segment Tar 0.0.16
>
>         Attachments: OAK-4926.patch, OAK-4926.patch
>
>
> Currently the method 
> {{org.apache.jackrabbit.oak.segment.standby.client.StandbyClientSyncExecution#isLocal}}
>  does invoke
> {code}
> referencedId.getSegment();
> {code}
> in order to read the referenced segment. In case of missing segment, the 
> {{ReferenceId.getSegment}} does throw a SNFE *and* logs an ERROR level 
> statement. The SNFE is needed but not the log statement in this case.



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

Reply via email to