aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-main
diff options
context:
space:
mode:
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>2019-09-19 17:47:25 +0200
committerSonarTech <sonartech@sonarsource.com>2019-09-20 11:19:18 +0200
commitb5b6c5fcc3f9b171f20868ba7d9b0f77f9912818 (patch)
treec2074902ebed751dfdc69ff4cbde61739d798f68 /server/sonar-main
parent6e4522f2c1e332fd81e6fedc18eb3808c35e0dd1 (diff)
downloadsonarqube-b5b6c5fcc3f9b171f20868ba7d9b0f77f9912818.tar.gz
sonarqube-b5b6c5fcc3f9b171f20868ba7d9b0f77f9912818.zip
waiting for ES to start log must also appear upon restart
Diffstat (limited to 'server/sonar-main')
-rw-r--r--server/sonar-main/src/main/java/org/sonar/application/SchedulerImpl.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/sonar-main/src/main/java/org/sonar/application/SchedulerImpl.java b/server/sonar-main/src/main/java/org/sonar/application/SchedulerImpl.java
index f55b6ed2e85..4e819e535a6 100644
--- a/server/sonar-main/src/main/java/org/sonar/application/SchedulerImpl.java
+++ b/server/sonar-main/src/main/java/org/sonar/application/SchedulerImpl.java
@@ -94,6 +94,7 @@ public class SchedulerImpl implements Scheduler, ManagedProcessEventListener, Pr
if (!nodeLifecycle.tryToMoveTo(NodeLifecycle.State.STARTING)) {
return;
}
+ firstWaitingEsLog.set(true);
processesById.clear();
for (ProcessId processId : ClusterSettings.getEnabledProcesses(settings)) {