[
https://issues.apache.org/jira/browse/OAK-9690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17496700#comment-17496700
]
Nitin Gupta commented on OAK-9690:
----------------------------------
Merged in trunk -
[https://github.com/apache/jackrabbit-oak/commit/bfa326d467074656711174c60ef0ba390b77a9c1]
> Add support to bring elastic async index uptodate post an OutofBand reindex
> operation
> -------------------------------------------------------------------------------------
>
> Key: OAK-9690
> URL: https://issues.apache.org/jira/browse/OAK-9690
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Reporter: Nitin Gupta
> Priority: Major
>
> Lucene OutOfBandReindex process is followed by index import which does 2
> things majorly -
> First is to import the newly created index files.
> Second is to bring the index up to date .
>
> In Elastic, we don't need the first step - since this is a remote index and
> the index get created on remote ES during the OutOfBand reindex process
> itself. However we do need to bring this index up to date. Otherwise we might
> end up missing indexed data in the async cycle for elastic index.
>
> I think modifying the IndexImported
> [https://github.com/apache/jackrabbit-oak/blob/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/index/importer/IndexImporter.java#L108]
> to have another public method to just bringIndexUptoDate should be
> sufficient.
>
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)