basho / riak

Riak is a decentralized datastore from Basho Technologies.
http://docs.basho.com
Apache License 2.0
3.94k stars 536 forks source link

unpredictable API response for streaming keys/buckets #664

Open cipy opened 9 years ago

cipy commented 9 years ago

When performing a bucket or key streaming operation, the riak's API would in some cases:

binarytemple commented 9 years ago

This is using the HTTP API

cipy commented 9 years ago

Can be seen in clusters where the data on disk greatly (i.e. at least 10 times) exceeds the available RAM dedicated to Riak.

gglanzani commented 9 years ago

I'm consistently getting partial set, then {timeout}. The workaround (I'm using the Python client) for our use case (delete keys), is to wrap the stream in a try/except block wrapped in a while block, and let the client reconnect.

russelldb commented 9 years ago

Are you setting the timeout high enough on the request?