jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Unico Hommes (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JCR-3265) Consistency checker should double check for false positives
Date Thu, 14 Jun 2012 12:17:42 GMT

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

Unico Hommes commented on JCR-3265:
-----------------------------------

Any objections against backporting this improvement to the 2.4 branch?
                
> Consistency checker should double check for false positives
> -----------------------------------------------------------
>
>                 Key: JCR-3265
>                 URL: https://issues.apache.org/jira/browse/JCR-3265
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>            Reporter: Unico Hommes
>             Fix For: 2.6
>
>         Attachments: doublecheck.patch
>
>
> We've experienced that the consistency checker reports false positives when run in a
clustered setup. The reason for this is that the loading in of the node to be checked and
its parent and children is not atomic. First the node is loaded in and then the parent and
children are loaded in subsequently to check whether they exist and whether they refer back
to the node to check. Off course there is no other way to do this but it does lead to the
consistency checker reporting false positives in this scenario.
> It is possible, even quite simple, to virtually eliminate reporting of false positives
by the consistency checker. And it would greatly enhance the usability of the consistency
checker to do so. The solution is to simply double check the inconsistency when it is detected.
We've not seen false positives being reported since we've implemented this strategy.
> Attached is a patch with this solution.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message