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 "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2016/09/05 13:23:21 UTC

[jira] [Comment Edited] (OAK-4714) Reindexing should only happen in async mode for a mix mode index definition

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

Chetan Mehrotra edited comment on OAK-4714 at 9/5/16 1:23 PM:
--------------------------------------------------------------

As for my first comment - 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!


was (Author: chetanm):
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
>            Assignee: 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)