]> source.dussan.org Git - sonarqube.git/commitdiff
waiting for ES to start log must also appear upon restart
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>
Thu, 19 Sep 2019 15:47:25 +0000 (17:47 +0200)
committerSonarTech <sonartech@sonarsource.com>
Fri, 20 Sep 2019 09:19:18 +0000 (11:19 +0200)
server/sonar-main/src/main/java/org/sonar/application/SchedulerImpl.java

index f55b6ed2e859ce7146300ebd90ed92c13e257863..4e819e535a6fcc406864db4ce74a54fe4c3b0c09 100644 (file)
@@ -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)) {