From 4e1ad3583e6fdedb8dbebc22870175e78a72e651 Mon Sep 17 00:00:00 2001 From: Roger Johansson Date: Sat, 6 Apr 2024 18:45:45 +0200 Subject: [PATCH] . --- cluster/gossip.proto | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cluster/gossip.proto b/cluster/gossip.proto index 2effa65e..b4dfc0c4 100644 --- a/cluster/gossip.proto +++ b/cluster/gossip.proto @@ -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 members = 1; } +//string key is the key of the gossip value, e.g. "heartbeat" +//GossipKeyValue is the value of that key message GossipMemberState { map values = 1; }