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

Elasticsearch index state can be corrupted and display unexisting pending commands

    XMLWordPrintable

    Details

      Description

      The number of pending commands can be wrong when some commands fail, this counter is not decremented.
      This makes the indexing state wrong it will be stuck as "Indexing in progress".

      This happens for instance when an async indexing command is done while the document has been removed.
      The following trace can be seen in the logs:

       [Nuxeo-Work-elasticSearchIndexing-6][org.nuxeo.elasticsearch.commands.IndexingCommand] Can not refresh document because it was deleted: e498a390-4bc7-45f0-ae8a-a0dbbbc1bd0a
      

      This counter and the state must be reliable.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                PagerDuty

                Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.