Skip to content

Commit

Permalink
kvserver: add store membership to the liveness record
Browse files Browse the repository at this point in the history
This commit only changes the protobuf, it does not explicitly use the
field anywhere.

Epic: none

Release note: None
  • Loading branch information
andrewbaptist committed Dec 16, 2024
1 parent ada0ea7 commit 86890a9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/kv/kvserver/liveness/livenesspb/liveness.proto
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ message Liveness {
// the defining MembershipStatus to be on-the-wire compatible with the boolean
// representation.
MembershipStatus membership = 5;

// Membership status of each of the stores. For backwards compatibility, any
// store not listed is assumed to be ACTIVE.
map<int32, MembershipStatus> storeMembership = 6;
}

// MembershipStatus enumerates the possible membership states a node could in.
Expand Down

0 comments on commit 86890a9

Please sign in to comment.