cannot query bucket when a node is down

Alexander Sicular siculars at
Mon May 31 13:00:24 EDT 2010

Mabe it's tring to get all keys? Try with keys=false... Mabe try with r=1?

On 2010-05-31, Johan Harjono <johanharjono at> wrote:
> Hi,
> I'm having a trouble querying a bucket when one of the nodes in the cluster
> is down. This is what I did
> 1. Set up a cluster of two nodes, call them node1 and node2
> 2. Use curl to create a bucket "users" and key "user1" with value "Hello
> World"
> 3. Test that I can use curl to fetch the bucket and key from both node1 and
> node2 (i.e. GET /bucket/ and GET /bucket/key)
> 4. use `riak stop` to stop one of the nodes from running
> 5. Use curl to GET bucket/key - this works (and of course, the request is
> directed at the node that is still running)
> 6. Use curl to GET bucket/ - at this point it just hangs
> What I do not understand is how it is possible that when one of the nodes is
> down, GET on a bucket/key works, but GET on a bucket/ does not. Any thoughts
> on this?
> thank you,
> Johan

Sent from my mobile device

More information about the riak-users mailing list