You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Thomas Mueller (Jira)" <ji...@apache.org> on 2019/08/27 09:51:00 UTC

[jira] [Created] (OAK-8579) Composite Node Store: Allow creating an index in the read-only repo first

Thomas Mueller created OAK-8579:
-----------------------------------

             Summary: Composite Node Store: Allow creating an index in the read-only repo first
                 Key: OAK-8579
                 URL: https://issues.apache.org/jira/browse/OAK-8579
             Project: Jackrabbit Oak
          Issue Type: Improvement
            Reporter: Thomas Mueller


Currently, it is not allowed to first create a new index in the read-only repository, and then in the read-write repository. Trying to do so will fail with "OakConstraint0001: /oak:index/.../:oak:mount-readOnlyV1-index-data[[]]: The primary type null does not exist"

See OAK-7917: oak-lucene/src/test/java/org/apache/jackrabbit/oak/composite - CompositeNodeStoreLuceneIndexTest.java tryAddIndexInReadWriteWithIndexExistinginReadOnly line 112. 

It would be better to allow this use case, to reduce the possibility of problems.



--
This message was sent by Atlassian Jira
(v8.3.2#803003)