Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-30416

Starting a node while reindexing should not update the write alias index

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.10-HF57
    • Component/s: Elasticsearch

      Description

      When Nuxeo is configured to use managed aliases for the elastic index.

      During a full re-indexing, a new write index is created, the search index alias point to the existing index, once the re-indexing is completed the search index alias is updated to point to the new write index..

      But starting a new node while the re-indexing is still running results in updating the search index alias too early.

      This happens with legacy re-indexing using the WorkManager or with the Bulk indexing action

      See org.nuxeo.elasticsearch.core.ElasticSearchAdminImpl#initializeIndexes which is called during service start, which is calling initIndex with sync=true.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: