-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1 Fix a bug where a peer does not exist in the configuration of the leader. For the remove_member case, the leader will first remove the member from the peer_list, and then apply the new cluster configuration which excludes the removed member. If a leader gets the peer_list before the to-be-removed node is removed from the peer_list, and then tries to get_srv_config after the node is removed for the cluster config (new config is applied), it cannot find this peer in the configuration. 2 Support follower to get its own peer info, which is useful for the upper layer to get the last appended log index of a follower.
- Loading branch information
1 parent
a277e8a
commit ec3ca39
Showing
3 changed files
with
40 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters