]> source.dussan.org Git - sonarqube.git/commit
SONAR-7168 fix stop failing during restart + restart WS call flood issue
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>
Fri, 8 Jan 2016 14:51:06 +0000 (15:51 +0100)
committerSébastien Lesaint <sebastien.lesaint@sonarsource.com>
Wed, 13 Jan 2016 12:42:43 +0000 (13:42 +0100)
commit255e54d582d02ab72d1b33f440656fb2d5ae9f8c
tree57c23abb47875009240b3e442801b58d8c3237ab
parent1d49769ae87ac8a2a553815bf2bfc9bf17a85f8f
SONAR-7168 fix stop failing during restart + restart WS call flood issue

stop triggered though shareMemory by Orchestrator did not work when a restart was under way be lifeCycle transition from RESTARTING to STOPPING wasn't allowed
when flooding the restart WS, the restart never occured because the WS erased the shareMemory space of the WebServer when called called, erasing the stop signal sent by the main process
server/sonar-process-monitor/src/main/java/org/sonar/process/monitor/Monitor.java
server/sonar-process/src/main/java/org/sonar/process/DefaultProcessCommands.java
server/sonar-process/src/main/java/org/sonar/process/Lifecycle.java
server/sonar-process/src/test/java/org/sonar/process/LifecycleTest.java
server/sonar-server/src/main/java/org/sonar/server/platform/ws/RestartAction.java