[
https://issues.apache.org/jira/browse/OAK-4287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15384159#comment-15384159
]
Michael Dürig commented on OAK-4287:
------------------------------------
At http://svn.apache.org/viewvc?rev=1753387&view=rev I added a feature flag
{{disable-generation-check}} for disabling this check.
> Disable / remove SegmentBufferWriter#checkGCGen
> -----------------------------------------------
>
> Key: OAK-4287
> URL: https://issues.apache.org/jira/browse/OAK-4287
> Project: Jackrabbit Oak
> Issue Type: Task
> Components: segment-tar
> Reporter: Michael Dürig
> Assignee: Michael Dürig
> Labels: assertion, compaction, gc
> Fix For: 1.6, Segment Tar 0.0.6
>
>
> {{SegmentBufferWriter#checkGCGen}} is an after the fact check for back
> references (see OAK-3348), logging a warning if detects any. As this check
> loads the segment it checks the reference for, it is somewhat expensive. We
> should either come up with a cheaper way for this check or remove it (at
> least disable it by default).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)