[
https://issues.apache.org/jira/browse/OAK-4926?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Timothee Maret updated OAK-4926:
--------------------------------
Attachment: OAK-4926.patch
Attaching a svn compatible patch, otherwise available at
https://github.com/tmaret/jackrabbit-oak/commit/2a6f4b47074966a895692ef7de764f9902c7adfb.patch
> o.a.j.o.s.s.c.StandbyClientSyncExecution#isLocal should except 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
> Fix For: Segment Tar 0.0.16
>
> Attachments: 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)