Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-9516

Add Elasticsearch resiliency on Projects

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.6-M1, 6.6
    • Component/s: ElasticSearch
    • Labels:

      Description

      Data in Elasticsearch indices may be inconsistent with database if an error occurs when :

      • a scanner creates a project
      • provisionning a project (POST api/projects/create)
      • changing project key (POST api/projects/update_key and bulk_update_key)
      • deleting a project (POST api/projects/delete)
      • bulk-deleting projects (POST api/projects/bulk_delete)
      • updating project tags (POST api/project_tags/set)
      • changing project visibility (POST api/projects/update_visibility)

      These desynchronizations have side-effects on the results of components search engine and projects page.

      Indexing errors should be recovered automatically in background. Meanwhile results are eventually consistent.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              simon.brandhof Simon Brandhof (Inactive)
              Reporter:
              eric.hartmann Eric Hartmann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: