Skip to content

iproto: new fields in instance's ballot. #3294

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Tracked by #3373
TarantoolBot opened this issue Jan 18, 2023 · 0 comments · Fixed by #3433
Closed
Tracked by #3373

iproto: new fields in instance's ballot. #3294

TarantoolBot opened this issue Jan 18, 2023 · 0 comments · Fixed by #3433
Assignees
Labels
2.11 2.11 release and the associated technical debt feature A new functionality iproto Related to the iproto protocol

Comments

@TarantoolBot
Copy link
Collaborator

TarantoolBot commented Jan 18, 2023

Product: Tarantool
Since: 2.11
Root document: https://www.tarantool.io/en/doc/latest/dev_guide/internals/iproto/replication/#box-protocol-ballots
https://www.tarantool.io/en/doc/latest/dev_guide/internals/iproto/keys/#general-replication
SME: @ sergepetrenko

Details

Instance's ballot (a response to IPROTO_VOTE sent on replica connect)
receives two new fields:

  1. The uuid of the node this instance considers the bootstrap leader.
    Key: IPROTO_BALLOT_BOOTSTRAP_LEADER_UUID = 0x08
    Value: uuid, encoded as 36-byte string (like
    "bfd2b31c-b740-43e5-bf3c-28538a74c9a6").
  2. An array of registered replica set members uuids.
    Key: IPROTO_BALLOT_REGISTERED_REPLICA_UUIDS = 0x09
    Value: a MP_ARRAY of uuids, each uuid encoded as a 36-byte string
    (like in an example above).
    Requested by @sergepetrenko in tarantool/tarantool@fd61dc6.
@veod32 veod32 added iproto Related to the iproto protocol feature A new functionality labels Jan 19, 2023
@veod32 veod32 added the 2.11 2.11 release and the associated technical debt label Mar 6, 2023
@veod32 veod32 unassigned xuniq Apr 3, 2023
@xuniq xuniq self-assigned this Apr 7, 2023
xuniq added a commit that referenced this issue Apr 13, 2023
* Added IPROTO_VCLOCK_SYNC key. Updated vclock keys description. Updated heartbeats' description and byte codes.
* Renamed CLUSTER_UUID key to REPLICASET_UUID.
* Added IPROTO_BALLOT_BOOTSTRAP_LEADER_UUID and IPROTO_BALLOT_REGISTERED_REPLICA_UUIDS keys. Updated IPROTO_BALLOT description.
* Updated IPROTO_TERM key, updated heartbeats' description and byte codes.

Resolves #3166
Resolves #3294
Resolves #3193
Resolves #3299
@xuniq xuniq closed this as completed Apr 13, 2023
@xuniq xuniq changed the title New fields in instance's ballot. iproto: new fields in instance's ballot. Apr 28, 2023
andreyaksenov pushed a commit that referenced this issue May 23, 2023
* Added IPROTO_VCLOCK_SYNC key. Updated vclock keys description. Updated heartbeats' description and byte codes.
* Renamed CLUSTER_UUID key to REPLICASET_UUID.
* Added IPROTO_BALLOT_BOOTSTRAP_LEADER_UUID and IPROTO_BALLOT_REGISTERED_REPLICA_UUIDS keys. Updated IPROTO_BALLOT description.
* Updated IPROTO_TERM key, updated heartbeats' description and byte codes.

Resolves #3166
Resolves #3294
Resolves #3193
Resolves #3299
andreyaksenov pushed a commit that referenced this issue May 24, 2023
* Added IPROTO_VCLOCK_SYNC key. Updated vclock keys description. Updated heartbeats' description and byte codes.
* Renamed CLUSTER_UUID key to REPLICASET_UUID.
* Added IPROTO_BALLOT_BOOTSTRAP_LEADER_UUID and IPROTO_BALLOT_REGISTERED_REPLICA_UUIDS keys. Updated IPROTO_BALLOT description.
* Updated IPROTO_TERM key, updated heartbeats' description and byte codes.

Resolves #3166
Resolves #3294
Resolves #3193
Resolves #3299
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.11 2.11 release and the associated technical debt feature A new functionality iproto Related to the iproto protocol
Projects
None yet
3 participants