[
https://issues.apache.org/jira/browse/OAK-6445?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16102885#comment-16102885
]
Tomek Rękawek commented on OAK-6445:
------------------------------------
bq. The idea of this task was to check the references at mount time, not at
commit time, so I don't think we can use an EditorHook here.
The EditorHook compares two node states and provides the difference in a
structured way. If the EMPTY_NODE is compared to the current root (as in the
example above), it'll traverse through the whole repository, passing all the
nodes to the underlying Editor.
But indeed, in this case maybe traversing through the whole repository may be a
bit overkill, since we only need to check the mounted stores.
> Ensure mounted node stores don't contain versionable nodes
> ----------------------------------------------------------
>
> Key: OAK-6445
> URL: https://issues.apache.org/jira/browse/OAK-6445
> Project: Jackrabbit Oak
> Issue Type: Sub-task
> Components: composite
> Reporter: Robert Munteanu
> Assignee: Robert Munteanu
> Fix For: 1.8, 1.7.5
>
>
> Since versioning does not work with the CompositeNodeStore mounts, we should
> validate that no versionable nodes exist at mount time.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)