We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68bdc08 commit e1e33faCopy full SHA for e1e33fa
server/src/main/java/org/elasticsearch/cluster/coordination/Coordinator.java
@@ -231,7 +231,7 @@ PublishWithJoinResponse handlePublishRequest(PublishRequest publishRequest) {
231
return publishWithJoinResponse;
232
} finally {
233
if (sourceNode.equals(getLocalNode()) || success == false) {
234
- preVoteCollector.update(getPreVoteResponse(), getLocalNode());
+ preVoteCollector.update(getPreVoteResponse(), sourceNode);
235
} else {
236
becomeFollower("handlePublishRequest", sourceNode); // also updates preVoteCollector
237
}
0 commit comments