[ 
https://issues.apache.org/jira/browse/OAK-8703?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrei Dulceanu updated OAK-8703:
---------------------------------
    Description: We need the ability to configure the maximum number of 
revisions to be checked  by the ConsistencyChecker. For this we are adding a 
new argument {{--maxRevisionsToCheck}} (with default value 1).   (was: We need 
the ability to configure the maximum number of request to be verify by the 
ConsistencyChecker. For this we are adding a new argument 
{{--maxRevisionsToCheck}} (with default value 1). 

 

 

 
----
 Documentation changes:
{code:java}
The check tool inspects an existing Segment Store at PATH for eventual 
inconsistencies. The algorithm implemented by this tool traverses the last 
revision in the journal. The actual nodes and properties are traversed, 
verifying that every piece of data is reachable and undamaged. If more then 1 
revision must be verified, --maxRevisionsToCheck option can be used. Moreover, 
if --head and --checkpoints options are used, the scope of the traversal can be 
limited to head state and/or a subset of checkpoints. A deep scan of the 
content tree, traversing every node and every property will be performed by 
default. The default scope includes head state and all checkpoints.


The optional --maxRevisionsToCheck [Integer] argument can be used to control 
the maximum number of revisions to be verified. Default value is 1. If the 
first revision is not consistent configure the argument to 2. This will verify 
the last 2 revisions. However if the first revision is consistent the 
verification of the second revision is skipped.
{code})

> Configure the maximum number of revisions to be checked by consistency check
> ----------------------------------------------------------------------------
>
>                 Key: OAK-8703
>                 URL: https://issues.apache.org/jira/browse/OAK-8703
>             Project: Jackrabbit Oak
>          Issue Type: New Feature
>          Components: oak-run, segment-tar
>            Reporter: Ieran Draghiciu
>            Assignee: Andrei Dulceanu
>            Priority: Major
>         Attachments: OAK-8703-02.patch, OAK-8703.patch
>
>
> We need the ability to configure the maximum number of revisions to be 
> checked  by the ConsistencyChecker. For this we are adding a new argument 
> {{--maxRevisionsToCheck}} (with default value 1). 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to