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

Chetan Mehrotra commented on OAK-4714:
--------------------------------------

As for my first commit - Again thinking further no change to be done. If a user 
wants to update an index definition and still want queries to work ok while 
reindex is happening he can
# Provision the update as altogether new index definition
# Let reindexing trigger
# In the meantime old index + local hybrid index would continue to server the 
queries
# Once reindexing finished mark the old index as "disabled" and remove that!

> Reindexing should only happen in async mode for a mix mode index definition
> ---------------------------------------------------------------------------
>
>                 Key: OAK-4714
>                 URL: https://issues.apache.org/jira/browse/OAK-4714
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.5.8
>            Reporter: Chetan Mehrotra
>            Priority: Minor
>         Attachments: OAK-4714-v1.patch
>
>
> With OAK-4641 support was added for enabling use of same index definition for 
> both async and sync mode. This causes issue for reindexing as with this 
> change it would be attempted for both modes.
> Instead for a mixed mode index definition reindexing should be bounded to 
> only one of the modes and only for that mode reindexing should be performed. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to