-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Decouple gossip.LeadershipMsg and networkMember
The proto message that is used for leader election contains Member, which contains endpoint, metadata and pkiID. There is no use of endpoint in the leader election module, and also- the use of metadata is abuse since its a []byte, but all we do is to put there a bool. I replaced the use of Member by pkiID and a bool value that was previously in the metadata. Change-Id: Id31395c5978f6b8e1791bad35d28a8a66e6cf664 Signed-off-by: Yacov Manevich <yacovm@il.ibm.com>
- Loading branch information
Showing
5 changed files
with
121 additions
and
140 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
Oops, something went wrong.