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

The rule removal phase at startup is not reentrant

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.6
    • Fix Version/s: 3.7
    • Component/s: Rules
    • Labels:
      None

      Description

      During startup, SonarQube looks for rules that have been removed (from a plugin - or when a plugin has completely been removed) and for each rule, it does some actions:

      • tag the rule as "REMOVED"
      • searches for the quality profiles impacted by this removal and updates them
      • ...

      The issue is that it tags all the rules as "REMOVED" first, and then updates the quality profiles. So if the startup process is killed during the quality profile updates, then a new startup won't update the remaining quality profiles.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              simon.brandhof Simon Brandhof (Inactive)
              Reporter:
              fabemn OLD - Fabrice Bellingard
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: