jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vikas Saurabh (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (OAK-7686) Partial migration doesn't update Lucene indexing data
Date Tue, 07 Aug 2018 13:58:00 GMT

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

Vikas Saurabh commented on OAK-7686:
------------------------------------

[~tmueller], I think both title and log message are correct in their own contexts. I haven't
checked in code, but as [~tomek.rekawek] mentioned that partial migration of content doesn't
seem to be registering {{LuceneIndexProvider}} and hence the system doesn't know what to do
with content getting ingested while there's no one which can update index data for {{type="lucene"}}
indexes... thus resulting in setting {{reindex=true}} for those indexes (as there's no other
way to index data which got ingested while LIP was missing.

That said, I think there's probably a bit more to the issue that it seems on the surface.
"lucene" indexes are "async", so, they get called to be updated only due to {{AsyncIndexUpdate}}
- which doesn't seem to be the case from logs in description (thread name is {{main}} ). The
only other thing is that maybe, {{IndexUpdate}} is calling into these indexes for "nrt" and
"sync" updates and since LIP is missing, it is getting confused that it should set "reindex=true".

While, all that is hypothesis, I think it's quite reasonable. If that really turns out to
be the case, I think the fix for the issue should be to remove {{IndexUpdate}} confusion over
{{async="sync,async"}} or {{async="nrt,async"}}.

We can probably "want" that maybe we can configure LIP and schedule AsyncIndexUpdate runs
- but imo that's solving a separate concern (update async indexes during side-grade).

> 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
>            Priority: Major
>             Fix For: 1.10
>
>
> 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)

Mime
View raw message