elastic / elastic/elasticsearch

Rework voting-only node implementation

Open
#80,331 3 comments 0 reactions 1 assignee Claimed by @fcofdez View on GitHub
:Distributed/Cluster Coordination >tech-debt Team:Distributed
Dominant language
Java
Stars
77.9k
Forks
26.1k
PR merge metrics
PR metrics pending

Description

Support for voting-only nodes is currently implemented in a plugin and hooks into the cluster coordination subsystem in slightly tricky ways. In particular, voting-only nodes must sometimes win an election so that they can push a fresh cluster state to true master nodes that have stale state. These elections then fail, causing some confusing log messages, and can in theory disrupt elections triggered by true masters too.

We no longer need this feature to be in a plugin, so we can migrate the functionality to the main cluster coordination subsystem, drop the tricky hooks, and prevent these nodes from ever winning elections.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.