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 interface for pb bucket key active preflist #75

Conversation

zeeshanlakhani
Copy link
Contributor

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, RiakCore, RiakAPI, 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:

@zeeshanlakhani zeeshanlakhani force-pushed the feature/zl/add-interface-for-pb-bucket-key-active-preflist branch from c77edc0 to b8aa3fa Compare February 25, 2015 15:43
@seancribbs
Copy link

Sorry if I confused you previously. This should probably be made against KV if the WM resource is on KV as well.

@zeeshanlakhani
Copy link
Contributor Author

@seancribbs no worries. Should I rename riak_core_pb_bucket_key_apl to riak_kv_pb_bucket_key_apl?

@seancribbs
Copy link

Yes, when you port it over to the KV branch.

@zeeshanlakhani
Copy link
Contributor Author

@seancribbs cool. Closing and will add to basho/riak_kv#1083.

@martincox martincox deleted the feature/zl/add-interface-for-pb-bucket-key-active-preflist branch June 14, 2019 09:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants