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

Thomas Mueller commented on OAK-7686:
-------------------------------------

The problem is, with the current patch breaks the contract of hybrid v2 indexes 
(synchronous properties,... specially unique properties).

I'm fine with the patch, if it logs a big fat warning that the index is not up 
to date.

The right solution (in my view) would be to add oak-lucene to oak-upgrade, even 
if that means we need to "split" oak-upgrade so we can get rid of Jackrabbit 
Core / old Lucene in one of the cases.

> Partial migration doesn't update Lucene indexing data
> -----------------------------------------------------
>
>                 Key: OAK-7686
>                 URL: https://issues.apache.org/jira/browse/OAK-7686
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: upgrade
>            Reporter: Tomek Rękawek
>            Assignee: Vikas Saurabh
>            Priority: Major
>             Fix For: 1.10
>
>         Attachments: OAK-7686.patch
>
>
> It seems that the LuceneIndexProvider is missing in the RepositorySidegrade 
> index provider list. As a result, for the partial migration, the lucene 
> indexing data is not updated for the copied content:
> {noformat}
> 25.07.2018 00:19:47.008 [main] *WARN*  
> org.apache.jackrabbit.oak.plugins.index.IndexUpdate - Missing index provider 
> of type [lucene], requesting reindex on [/oak:index/slingeventJob]
> 25.07.2018 00:19:47.580 [main] *WARN*  
> org.apache.jackrabbit.oak.plugins.index.IndexUpdate - Missing index provider 
> of type [lucene], requesting reindex on [/oak:index/ntBaseLucene]
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to