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

Stefan Egli resolved OAK-9602.
------------------------------
    Resolution: Fixed

* merged the [PR#390|https://github.com/apache/jackrabbit-oak/pull/390]
* marking this ticket as resolved

> Script to check for inconsistent version nodes and generate a report
> --------------------------------------------------------------------
>
>                 Key: OAK-9602
>                 URL: https://issues.apache.org/jira/browse/OAK-9602
>             Project: Jackrabbit Oak
>          Issue Type: New Feature
>          Components: documentmk
>            Reporter: José Andrés Cordero Benítez
>            Assignee: José Andrés Cordero Benítez
>            Priority: Minor
>             Fix For: 1.42.0
>
>
> We have detected some external tools can introduce some changes in the 
> version history nodes, leaving it inconsistent. The main problems we detected 
> were:
>  * Some version nodes are left empty, instead of removing the node 
> completely. Leaving empty nodes that will trigger ConstraintViolations when 
> they are traversed.
>  * The primaryType of the node is changed incorrectly from nt:versionHistory 
> to nt:version.
> I have created a script to traverse the versionHistory and detect if the 
> NodeStore is affected by this issues.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to