Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Cluster membership request/response message #255

Merged
merged 1 commit into from
May 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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