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 "Nitin Gupta (Jira)" <ji...@apache.org> on 2022/02/09 17:15:00 UTC

[jira] [Created] (OAK-9690) Add support to bring elastic async index uptodate post an OutofBand reindex operation

Nitin Gupta created OAK-9690:
--------------------------------

             Summary: 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


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)