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

Each time the batch calls the project referentials WS, a E/S query is executed for each rule

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.1
    • Component/s: Web API
    • Labels:
      None

      Description

      When the /batch/projects is called, a E/S query is executed for each rule used in the quality profile of the project.

      Here's a small log of these queries :

      2015.01.05 14:20:24 INFO  http-bio-0.0.0.0-9000-exec-5 web[get]  1ms ES get request for key 'common-java:DuplicatedBlocks' on index 'rules' on type 'rule'
      2015.01.05 14:20:24 INFO  http-bio-0.0.0.0-9000-exec-5 web[get]  1ms ES get request for key 'common-java:InsufficientBranchCoverage' on index 'rules' on type 'rule'
      2015.01.05 14:20:24 INFO  http-bio-0.0.0.0-9000-exec-5 web[get]  1ms ES get request for key 'squid:UselessParenthesesCheck' on index 'rules' on type 'rule'
      2015.01.05 14:20:24 INFO  http-bio-0.0.0.0-9000-exec-5 web[get]  1ms ES get request for key 'squid:S1215' on index 'rules' on type 'rule'
      2015.01.05 14:20:24 INFO  http-bio-0.0.0.0-9000-exec-5 web[get]  1ms ES get request for key 'squid:S1217' on index 'rules' on type 'rule'
      2015.01.05 14:20:24 INFO  http-bio-0.0.0.0-9000-exec-5 web[get]  2ms ES get request for key 'squid:S1151' on index 'rules' on type 'rule'
      2015.01.05 14:20:24 INFO  http-bio-0.0.0.0-9000-exec-5 web[get]  2ms ES get request for key 'squid:S1294' on index 'rules' on type 'rule'
      2015.01.05 14:20:24 INFO  http-bio-0.0.0.0-9000-exec-5 web[get]  2ms ES get request for key 'squid:S1219' on index 'rules' on type 'rule'
      

        Attachments

          Activity

            People

            • Assignee:
              julien.lancelot Julien Lancelot
              Reporter:
              julien.lancelot Julien Lancelot
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Due:
                Created:
                Updated:
                Resolved: