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

Ieran Draghiciu updated OAK-8719:
---------------------------------
    Attachment: OAK-8719-1.patch

> Oak run check command must return the status of repository consistency check
> ----------------------------------------------------------------------------
>
>                 Key: OAK-8719
>                 URL: https://issues.apache.org/jira/browse/OAK-8719
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>            Reporter: Ieran Draghiciu
>            Assignee: Andrei Dulceanu
>            Priority: Major
>              Labels: oak-run, segment-tar
>         Attachments: OAK-8719-1.patch, OAK-8719.patch
>
>
> Currently the consistency check reports only if the command runs successfully 
> (return code 0) or fails (return code 1).
> Into this logic will also add the status of repository consistency:
> - checking only the last revision: will return 0 if the revision is 
> consistent and the command runs successfully OR will return 1 if the revision 
> is inconsistent or job did not run successfully (some errors/exception were 
> encountered during the run)
> - checking multiple revisions: will return 0 if at least one revision is 
> consistent and the job runs successfully OR will return 1 if none of the 
> revisions are consistent or the command did not run successfully (some 
> errors/exception were encounter during the run) 



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

Reply via email to