[
https://issues.apache.org/jira/browse/OAK-7918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16697342#comment-16697342
]
Francesco Mari commented on OAK-7918:
-------------------------------------
{{CheckInvalidRepositoryTest#testLargeJournal}} seems to fail because the test
corrupts a path reachable from the head state, but not from the checkpoints.
The test expect that no good revision is found, while a good revision is found
for both checkpoints instead. The test passes if I invoke
{{corruptPathFromCheckpoint()}} before the consistency check. I would like to
hear from [~dulceanu] before I conclude that there is a bug in the test.
> Extract checking logic from ConsistencyChecker
> -----------------------------------------------
>
> Key: OAK-7918
> URL: https://issues.apache.org/jira/browse/OAK-7918
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: segment-tar
> Reporter: Francesco Mari
> Assignee: Francesco Mari
> Priority: Major
> Fix For: 1.10
>
> Attachments: OAK-7918-01.patch
>
>
> {{ConsistencyChecker}} mixes both the logic proper to a consistency check and
> reporting and debug statements. Moreover, it is not possible to retrieve
> programmatically the result of a consistency check, making it impossible to
> reuse this class in another context. The logic for a consistency check should
> be extracted to separate class.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)