Expand description
KIP-595 Vote wire and membership admission decisions.
Structs§
- Vote
Membership - The cluster and voter-set memberships one Vote request needs.
- Vote
Target - Whom one Vote request is addressed to, against this node.
Enums§
- Vote
Admission Decision - Admission shared by binding votes and pre-votes before epoch/log checks.
- Vote
Encode Decision - Whether unsigned consensus fields fit Kafka’s signed Vote wire fields.
- Vote
Wire Decision - Whether the signed Vote fields can be converted without aliasing a Kafka sentinel to a real node or epoch.
Functions§
- vote_
admission_ decision - Classify exact recipient and membership admission. The target alone
decides
IgnoreWrongTarget; for the exact target, the memberships decide betweenDenyandConsider. - vote_
encode_ decision - Reject values that would otherwise be clamped and alias another identity or
epoch when encoded as Kafka
int32fields. - vote_
wire_ decision - Validate the signed identity and epoch fields before conversion to the
unsigned consensus types. The one ensures pins both variants:
Acceptexactly whenvote_fields_nonnegativeholds.