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

Francesco Mari commented on OAK-7918:
-------------------------------------

The fourth version of the patch implements the same short-circuit logic that 
make {{CheckInvalidRepositoryTest#testLargeJournal}} pass. All the other tests 
are green, too.

> 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, OAK-7918-02.patch, OAK-7918-03.patch, 
> OAK-7918-04.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)

Reply via email to