-
Notifications
You must be signed in to change notification settings - Fork 189
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 get_preflist to erlang-client #204
Conversation
e86e67d
to
98a7d44
Compare
@@ -68,6 +68,9 @@ | |||
head | deletedvclock | | |||
{n_val, pos_integer()} | | |||
{sloppy_quorum, boolean()}. | |||
-type preflist_item() :: {parition, non_neg_integer()} | {node, binary()} | |
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.
Typo: parition
, I think you mean partition
.
98a7d44
to
244b608
Compare
This will need to update to use riak_pb tag |
@seancribbs makes sense. will do. |
👍 3a20f73 |
add get_preflist to erlang-client Reviewed-by: seancribbs
These tests will not pass until we can get a proper version of Riak on the builders. Both @zeeshanlakhani and I have tested locally, merging manually. @zeeshanlakhani will tag after merge. |
add get_preflist to erlang-client
Note: Bors will fail on this until a new version is referenced in rebar.config incorporating the update in basho/riak_pb#105 and the riak_core update is reviewed/merged.
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: