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

Do not write to datastores at startup when sonar.cluster.web.startupLeader flag is false

    XMLWordPrintable

    Details

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

      Description

      Take the flag into account in every places required in code (see http://confluence.internal.sonarsource.com/display/PLAT/SQ+actions+at+Startup to find them out) and add an IT which first start an SQ as usual, stop it and start one with sonar.cluster.web.startupLeader set to false and logs at TRACE level and ensure there is no insert/update to DB or write operations to ES in the logs.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              simon.brandhof Simon Brandhof (Inactive)
              Reporter:
              sebastien.lesaint Sebastien Lesaint
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: