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

Increase mixed machine version election availability. #353

Closed kjnilsson closed 1 year ago

kjnilsson commented 1 year ago

By allowing lower versioned members to vote for higher versioned members if the effective machine version matches

This enables a cluster of, e.g. A(2), B(2), C(1) where A is the leader to still elect B as leader should A become unavilable.

Fixes #256

kjnilsson commented 1 year ago

I've run some quorum queue mixed versions tests with this branch and it passes.