forked from tarantool/tarantool
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
replication: broadcast instance name in the ballot
Node's ballot contains all the information necessary to choose it a bootstrap leader. Since the bootstrap_leader configuration option will allow specifying bootstrap leader's name, we have to broadcast the name in node's ballot. Prerequisite tarantool#8539 NO_CHANGELOG=not user-visible @TarantoolBot document Title: new field in node's BALLOT: IPROTO_BALLOT_INSTANCE_NAME The node's ballot (IPROTO_BALLOT) receives a new field: the name of the node (the same as in box.cfg.instance_name or box.info.name): Key: IPROTO_BALLOT_INSTANCE_NAME = 0x0a Value: MP_STR, representing the instance name.
- Loading branch information
1 parent
116df1d
commit 8c8191b
Showing
6 changed files
with
33 additions
and
2 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
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