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

Improve performance of rule removal during server startup

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.7.1
    • 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
      • ...

      This process can be optimized, most notably to reduce the amount of SQL requests (e.g.: it currently reloads all the profiles for every removed rule).

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: