Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1628,6 +1628,10 @@ public void run() {
}

if (prevotingRound != null) {
if (singleNodeDiscovery) {
logger.debug("skip prevoting as single-node discovery is enabled and prevoting is already in progress");
return;
}
prevotingRound.close();
}
prevotingRound = preVoteCollector.start(lastAcceptedState, getDiscoveredNodes());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ protected static int defaultInt(Setting<Integer> setting) {
return setting.get(Settings.EMPTY);
}

// Updating the cluster state involves up to 7 delays:
// Updating the cluster state involves up to the following number of delays:
// 1. submit the task to the master service
// 2. state publisher task on master
// 3. master sends out PublishRequests to nodes
Expand Down