Thanks for the bug fix Justin! It works wonderfully for me now :)

thanks,
Johan

On Tue, Jun 1, 2010 at 2:02 PM, Justin Sheehy <[email protected]> wrote:

> On Tue, Jun 1, 2010 at 1:56 PM, Sam Tingleff <[email protected]> wrote:
>
> > With no single point of failure there is no single index of keys. So
> > the only way to get an exhaustive list of keys in a given bucket is to
> > ask all nodes (I do not know if this is what riak is actually doing).
>
> Sam is exactly right that Riak doesn't centralize anything and so
> there is no collected index of keys.
>
> However, you don't quite have to ask every node; you have to ask
> enough nodes to know that you hit at least one replica of every
> object.  This is what listing keys (GET /bucket) does.  There was a
> bug that just recently got fixed that could in some cases cause the
> whole listing to hang up due to a single misbehaving or down node,
> depending on timing.  This fix was placed in tip this morning and the
> fix will go out in the next release.
>
> As long as you have enough nodes around that you could get every
> object in the cluster using R=1, you should be able to list the keys
> in a bucket.
>
> -Justin
>
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to