Skip to content

Commit

Permalink
Merge pull request #255 from basho/mas-i1804-peerdiscovery
Browse files Browse the repository at this point in the history
Add Cluster membership request/response message
  • Loading branch information
martinsumner authored May 12, 2022
2 parents b7abca9 + c88e12a commit 04e8cc7
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/riak_kv.proto
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,21 @@ message RpbPushResp{
optional uint32 realt_length = 12;
}

// Request a member of a cluster return the API addresses of other members
message RpbMembershipReq{
optional bytes queuename = 1;
}

// An IP Port representing the API address of a cluster member
message RpbClusterMemberEntry {
required bytes ip = 1;
required uint32 port = 2;
}

message RpbMembershipResp{
repeated RpbClusterMemberEntry up_nodes = 1;
}

// AAE Fold requests
message RpbAaeFoldMergeRootNValReq{
required uint32 n_val = 1;
Expand Down
2 changes: 2 additions & 0 deletions src/riak_pb_messages.csv
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@
203,RpbFetchResp,riak_kv
204,RpbPushReq,riak_kv
205,RpbPushResp,riak_kv
206,RpbMembershipReq,riak_kv
207,RpbMembershipResp,riak_kv
210,RpbAaeFoldMergeRootNValReq,riak_kv
211,RpbAaeFoldMergeBranchNValReq,riak_kv
212,RpbAaeFoldFetchClocksNValReq,riak_kv
Expand Down

0 comments on commit 04e8cc7

Please sign in to comment.