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

Andrei Dulceanu commented on OAK-6373:
--------------------------------------

After discussing a bit about this offline with [~mduerig], here's the 
conclusion we came to:

* by default, when specifying {{oak-run check path/to/segmentstore}} without 
any option, *both {{/root}} and all checkpoints* will be checked
* if the user wants to check only {{/root}}, then the new {{--head}} option 
will be used: {{oak-run check path/to/segmentstore --head}}
* it the user wants to check only the checkpoints, then the new 
{{--checkpoints}} option will be used. Specifying it without any argument will 
check all checkpoints: {{oak-run check path/to/segmentstore --checkpoints}}. 
Adding comma separated checkpoint ids will restrict the check to only those 
checkpoints: {{oak-run check path/to/segmentstore --checkpoints cp1,cp2}}.


> oak-run check should also check checkpoints 
> --------------------------------------------
>
>                 Key: OAK-6373
>                 URL: https://issues.apache.org/jira/browse/OAK-6373
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: run, segment-tar
>            Reporter: Michael Dürig
>            Assignee: Andrei Dulceanu
>              Labels: candidate_oak_1_8, tooling
>             Fix For: 1.10, 1.10.1
>
>
> {{oak-run check}} does currently *not* traverse and check the items in the 
> checkpoint. I think we should change this and add an option to traverse all, 
> some or none of the checkpoints. When doing this we need to keep in mind the 
> interaction of this new feature with the {{filter}} option: the paths passed 
> through this option need then be prefixed with {{/root}}. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to