]> source.dussan.org Git - sonarqube.git/commit
stop should be allowed when SQ is not yet fully operational
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>
Thu, 5 Sep 2019 07:50:08 +0000 (09:50 +0200)
committerSonarTech <sonartech@sonarsource.com>
Fri, 6 Sep 2019 18:21:05 +0000 (20:21 +0200)
commita05a09de9fc16b7d33e886e399853290ae24a2f0
treefafc235c4e8429490ca21f8ff79f4da6ec84ae11
parent70c74d827f1173c394d9d94ed8452edd9e63d228
stop should be allowed when SQ is not yet fully operational

this allows to keep stop code behing lifecycle transition test
which prevents multiple stop sequence to be initiated in parallel from different thread
which may interrupt each other and create unstable behaviors (with cryptic non reproducible errors)
server/sonar-main/src/main/java/org/sonar/application/NodeLifecycle.java
server/sonar-main/src/main/java/org/sonar/application/SchedulerImpl.java
server/sonar-main/src/test/java/org/sonar/application/NodeLifecycleTest.java