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

Make operations on Quality Profiles resilient

    Details

      Description

      The database and the Elasticsearch indices can be corrupted if an operation on Quality profile fails. The operation should be resilient to errors and do not persist or index inconsistent data.

      Example :

      1. POST api/qualityprofiles/delete
      2. profile is deleted from database
      3. commit
      4. remove the related active rules from index --> failure, for instance because the Elasticsearch server is under pressure and can't process the request. At this point of time the documents still exist and won't be deleted anymore.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                simon.brandhof Simon Brandhof
                Reporter:
                simon.brandhof Simon Brandhof
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: