Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle an edge case of removing server (#129)
* If `handle_join_leave_rpc_err` is called but `srv_to_leave_` is already set, that function is probably invoked by `handle_hb_timeout`. In such a case, the server to be removed does not respond while the leader already generated the log for the configuration change. We should abandon the peer entry from `peers_`.
- Loading branch information