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

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

[patch|^OAK-4714-v1.patch] for the same. Went for simpler approach which does 
not introduce any new config. With this reindexing in sync mode would only be 
done for indexes which does not have "async" property defined. It does not 
matter if "async" has entries for both "sync" and "async". 

With this hybrid index would not be reindexing synchronously 

[~alexparvulescu] Please review

> 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
>             Fix For: 1.6
>
>         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