Skip to content

include a stream_list_keys in ts_basic#953

Merged
hazen merged 5 commits intoriak_tsfrom
fix/az/stream-list-keys
Dec 10, 2015
Merged

include a stream_list_keys in ts_basic#953
hazen merged 5 commits intoriak_tsfrom
fix/az/stream-list-keys

Conversation

@hmmr
Copy link
Contributor

@hmmr hmmr commented Dec 6, 2015

RTS-697. Requires basho/riak_kv#1291.

With changes in basho/riak_kv#1291, ts_basic will have riakc_ts:list_keys/3 scrapped and replaced by a wrapper around riakc_ts:stream_list_keys/3.

The wrapper works by repeatedly calling and collecting keys from the streaming version of list_keys until the required, known, number of keys is received. This becomes necessary because the streaming version, working asynchronously, takes some time to return the keys intended to be in the bucket.

@hazen
Copy link

hazen commented Dec 10, 2015

👍

hazen pushed a commit that referenced this pull request Dec 10, 2015
include a stream_list_keys in ts_basic
@hazen hazen merged commit 977119e into riak_ts Dec 10, 2015
@hazen hazen deleted the fix/az/stream-list-keys branch December 10, 2015 02:52
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