Uploaded image for project: 'Product Roadmaps'
  1. Product Roadmaps
  2. MMF-959

Ensure Elasticseach-Database consistency when processing analysis reports

    XMLWordPrintable

    Details

    • Type: MMF
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Labels:

      Description

      Context

      When a Compute Engine task that deals with an analysis report is interrupted, the task is automatically restarted and, after several unsuccessful attempts, canceled (see MMF-835).
      It works fine when the task is interrupted before all the changes are persisted in the Database and before the corresponding data start to be indexed into Elasticsearch. Replaying the task will produce the same effects.
      But if a task is interrupted while indexing the corresponding data in Elasticseach, if the indexation of a project analysis is incremental, the task can't be simply played again. And, as a consequence, some inconsistencies may remain between Elasticsearch and the Database.

      Possible solution

      If the indexation of a project fails or is interrupted, the Compute Engine could first index the whole project just before computing the following analysis.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              christophe.levis Christophe Levis
              Reporter:
              christophe.levis Christophe Levis
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: