[
https://issues.apache.org/jira/browse/OAK-6506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16112880#comment-16112880
]
Robert Munteanu commented on OAK-6506:
--------------------------------------
Currently, I think using the {{IndexStoreStrategy}} is the way to go. I would
use the {{Multiplexers}} class to get all the defined indexes, and then:
* generate the combinations needed to match all indexes
* iterate over each combination and check if there are matching values
The checks are not reflexive, so we need to test both index_n against index_n+1
and index_n+1 against index_n.
> Ensure unique property indexes are consistent when mounting NodeStores
> ----------------------------------------------------------------------
>
> Key: OAK-6506
> URL: https://issues.apache.org/jira/browse/OAK-6506
> Project: Jackrabbit Oak
> Issue Type: Technical task
> Components: composite
> Reporter: Robert Munteanu
> Assignee: Robert Munteanu
> Fix For: 1.8, 1.7.6
>
>
> When mounting a NodeStore in a composite setup, we should validate that the
> unique property indexes do not contain duplicate entries across all the node
> stores.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)