-
Notifications
You must be signed in to change notification settings - Fork 114
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
add encode, message, and proto for RpbGetBucketKeyPreflistReq|Rest #105
add encode, message, and proto for RpbGetBucketKeyPreflistReq|Rest #105
Conversation
65e1b38
to
bfdcbee
Compare
This branch (see PR #105) is based on basho/riak_pb/feature/zl/add-pb-req-resp-for-active-annoated-preflist. There is a matching commit in basho/riak_kv in a newly created branch feature/az/api-entrypoints-coverage.
This branch (see PR #105) is based on basho/riak_pb/feature/zl/add-pb-req-resp-for-active-annoated-preflist. There is a matching commit in basho/riak_kv in a newly created branch feature/az/api-entrypoints-coverage.
This branch (see PR #105) is based on basho/riak_pb/feature/zl/add-pb-req-resp-for-active-annoated-preflist. There is a matching commit in basho/riak_kv in a newly created branch feature/az/api-entrypoints-coverage.
This branch (see PR #105) is based on basho/riak_pb/feature/zl/add-pb-req-resp-for-active-annoated-preflist. There is a matching commit in basho/riak_kv in a newly created branch feature/az/api-entrypoints-coverage.
bfdcbee
to
d16ec77
Compare
@@ -31,6 +31,8 @@ | |||
30,RpbResetBucketResp,riak | |||
31,RpbGetBucketTypeReq,riak | |||
32,RpbSetBucketTypeReq,riak | |||
33,Rpbgetbucketkeypreflistreq,riak |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make sure this is capitalized in the same way as the messages in the .proto file. Erlang lowercases everything, but Java and Python codegen rely on correct capitalization.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Def. my bad on that.
09586ec
to
9595378
Compare
9595378
to
df64e7d
Compare
👍 df64e7d Java, Python, and Erlang generate correctly. Tests pass. |
…ive-annoated-preflist add encode, message, and proto for RpbGetBucketKeyPreflistReq|Rest Reviewed-by: seancribbs
@borshop merge |
Adds PB Message Codes and encode fn.
33 - RpbGetBucketKeyPreflistReq
34 - RpbGetBucketKeyPreflistResp
Description
Part of RIAK-1481.
The active preflist will return primary/fallback partitions and nodes for the available nodes at the time of query. Primary/fallback will be annotated.
This involves updates to our RiakKV WB code, RiakPB, Riak-Erlang-Http-Client, Riak-Erlang-Client.
*The impetus for adding this to the API started with a mailing list question answered by Charlie Voiselle, http://lists.basho.com/pipermail/riak-users_lists.basho.com/2015-January/016527.html, which involved a snippet of code that we've given clients multiple times. This was then discussed with Russell Brown on HipChat, https://basho.hipchat.com/history/room/867200/2015/01/13?q=enterprising&t=rid-867200#12:23:22.
Other PRs in the series: