File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
server/src/main/java/org/elasticsearch/cluster/coordination
test/framework/src/main/java/org/elasticsearch/cluster/coordination Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -1628,6 +1628,10 @@ public void run() {
16281628 }
16291629
16301630 if (prevotingRound != null ) {
1631+ if (singleNodeDiscovery ) {
1632+ logger .debug ("skip prevoting as single-node discovery is enabled" );
1633+ return ;
1634+ }
16311635 prevotingRound .close ();
16321636 }
16331637 prevotingRound = preVoteCollector .start (lastAcceptedState , getDiscoveredNodes ());
Original file line number Diff line number Diff line change @@ -208,7 +208,7 @@ protected static int defaultInt(Setting<Integer> setting) {
208208 return setting .get (Settings .EMPTY );
209209 }
210210
211- // Updating the cluster state involves up to 7 delays:
211+ // Updating the cluster state involves up to the following number of delays:
212212 // 1. submit the task to the master service
213213 // 2. state publisher task on master
214214 // 3. master sends out PublishRequests to nodes
You can’t perform that action at this time.
0 commit comments