rabbitmq / ra

A Raft implementation for Erlang and Elixir that strives to be efficient and make it easier to use multiple Raft clusters in a single system.
Other
813 stars 96 forks source link

Handle pre_vote messages in the await_condition states #264

Closed kjnilsson closed 2 years ago

kjnilsson commented 2 years ago

This allows for better availability if a leader change is needed whilst any node(s) is in await_condition. An example would be a leader transfer in a 2 node cluster or when one node is down.

Fixes #251