Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
rogeralsing committed Apr 6, 2024
1 parent e25c134 commit 4e1ad35
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cluster/gossip.proto
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,14 @@ message GossipResponse {
GossipState state = 1;
}

//two GossipState objects can be merged
//key + member_id gets it's own entry, if collision, highest version is selected
//string key is member id
//GossipState is the state of that member
message GossipState {
map<string, GossipMemberState> members = 1;
}

//string key is the key of the gossip value, e.g. "heartbeat"
//GossipKeyValue is the value of that key
message GossipMemberState {
map<string, GossipKeyValue> values = 1;
}
Expand Down

0 comments on commit 4e1ad35

Please sign in to comment.