Here is an example of the HTTP 2i query returning the same continuation as provided in query params:
curl ' http://127.0.0.1:8098/types/fs_chunks/buckets/0r0e5wahrhsgpolk9stbnrqmp77fjjye.chunks/index/$bucket/0r0e5wahrhsgpolk9stbnrqmp77fjjye.chunks?max_results=10&continuation=g20AAAAja1AzdzJwOXpYcVoyb0F4NDhTMVNnRUpBbGJ0ZkhVdkk6MjU= ' {"keys":["4rpG2PwRTs3YqasGGYrhACBvZqTg7mQW:0","4rpG2PwRTs3YqasGGYrhACBvZqTg7mQW:2","FSEky50kr2TLkBuo1JKv6sphINYwnJfV:1","F3KcwtjG9VAtM5u8vbwBuCjuGBrPTnfq:0","RToMNlsnVKvXcawQK6BGnCAKx58pC9xX:1","UMiHx4qDR5pHWT9OgLAu1KMlFeEKbISm:0","F3KcwtjG9VAtM5u8vbwBuCjuGBrPTnfq:2","YQlRWkJPFYiLlAwhvgqOysJC3ycmQ9OA:0","kP3w2p9zXqZ2oAx48S1SgEJAlbtfHUvI:15","kP3w2p9zXqZ2oAx48S1SgEJAlbtfHUvI:25"],"continuation":"g20AAAAja1AzdzJwOXpYcVoyb0F4NDhTMVNnRUpBbGJ0ZkhVdkk6MjU="} How is that possible? On 11 March 2016 at 12:06, Oleksiy Krivoshey <oleks...@gmail.com> wrote: > Anyone? > > On 4 March 2016 at 19:11, Oleksiy Krivoshey <oleks...@gmail.com> wrote: > >> I have a bucket with ~200 keys in it and I wanted to iterate them with >> the help of $bucket index and 2i request, however I'm facing the recursive >> behaviour, for example I send the following 2i request: >> >> { >> bucket: 'BUCKET_NAME', >> type: 'BUCKET_TYPE', >> index: '$bucket', >> key: 'BUCKET_NAME', >> qtype: 0, >> max_results: 10, >> continuation: 'AAAA' >> } >> >> I receive 10 keys and continuation 'BBBB', I then repeat the request with >> continuation 'BBBB' and at this point I can receive a reply with >> continuation 'CCCC' or 'AAAA' or even 'BBBB' and its going in never ending >> recursion. >> >> I'm running this on a 5 node 2.1.3 cluster. >> >> What I'm doing wrong? Or is this not supported at all? >> >> Thanks! >> > >
_______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com