Skip to content

Commit

Permalink
Introduce two new message for gossip proto
Browse files Browse the repository at this point in the history
To be able to run state transfer across the gossiping peer
two message type has been added into gossip protos.

Change-Id: Iae4b155115a07175b098aab9f9fe5df470a2fc3a
Signed-off-by: Artem Barger <bartem@il.ibm.com>
  • Loading branch information
C0rWin committed Nov 15, 2016
1 parent 3b6c70d commit b95adc8
Show file tree
Hide file tree
Showing 2 changed files with 174 additions and 67 deletions.
228 changes: 162 additions & 66 deletions gossip/proto/message.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 12 additions & 1 deletion gossip/proto/message.proto
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ message GossipMessage {

// ConnEstablish, used for establishing a connection
ConnEstablish conn = 12;

RemoteStateRequest stateRequest = 14;
RemoteStateResponse stateResponse = 15;
}
}

Expand Down Expand Up @@ -118,4 +121,12 @@ message Member {
bytes pkiID = 3;
}

message Empty {}
message RemoteStateRequest {
repeated uint64 seqNums = 1;
}

message RemoteStateResponse {
repeated Payload payloads = 1;
}

message Empty {}

0 comments on commit b95adc8

Please sign in to comment.