mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-31 20:16:43 +00:00
We modify the `reconfigure` and `modify_config` APIs to take a vector of <server_id, bool> pairs (instead of just a vector of server_ids), where the bool indicates whether the server is a voter in the modified config. The `reconfiguration` operation would previously shuffle the set of servers and split it into two parts: members and non-members. Now it partitions it into three parts: voters, non-voters, and non-members. The PR also includes fixes for some liveness problems stumbled upon during testing. Closes #10640 * github.com:scylladb/scylla: test: raft: randomized_nemesis_test: include non-voters during reconfigurations raft: server: if `add_entry` with `wait_type::applied` successfully returns, ensure `state_machine::apply` is called for this entry raft: tracker: fix the definition of `voters()` raft: when printing `raft::server_address`, include `can_vote`