propagation of bucket properties to new nodes

Dan Reverri dan at basho.com
Wed Aug 25 18:15:57 EDT 2010


Hi David,

Alexander is correct, bucket properties are gossiped across the cluster. If
the backend property has been set for a bucket, any new nodes added to the
cluster will learn about that backend setting.

A few notes about multi backend:
1. I found a couple of issues with the current multi backend functionality:
Nodes don't store data if a backend is not defined on the node:
https://issues.basho.com/show_bug.cgi?id=670

Nodes can't find data if the backend property of a bucket is changed after
adding data:
https://issues.basho.com/show_bug.cgi?id=671


Until these issues are fixed I would suggest:
1. Define a consistent "multi_backend" configuration in all nodes
2. Do not change the "backend" property of a bucket once set


I also filed a feature request proposing an alternate method for managing
multiple backends, you can remove this request here:
https://issues.basho.com/show_bug.cgi?id=672

Thanks,
Dan

Daniel Reverri
Developer Advocate
Basho Technologies, Inc.
dan at basho.com


On Tue, Aug 24, 2010 at 4:01 PM, Alexander Sicular <siculars at gmail.com>wrote:

> Hi David,
>
> AFAIK, bucket properties are shared via gossip chatter. That is why it is
> recommended that you modify the bucket defaults via the config file if you
> are going to have a lot of buckets with different params from the default.
> Bucket properties and the backends that buckets use are different.
> Properties play at the ring/gossip level and backends play at the node
> level. So, for instance you can have the same logical 'bucket' have two
> different backends on two different physical nodes, afaik.
>
> -Alexander
>
> On Aug 24, 2010, at 6:46 PM, David Weldon wrote:
>
> > Do bucket properties get propagated to new riak nodes? For example, if
> > I have 3 nodes, and on each I called riak_client:set_bucket/2, then I
> > add a 4th node - does the new node know all of the existing bucket
> > properties (n_val, allow_mult, etc.)? In particular, I'd like to know
> > if the 'backend' property gets propagated to new nodes. If it does
> > not, I should probably run my bucket setup every time I start my
> > application.
> >
> > _______________________________________________
> > riak-users mailing list
> > riak-users at lists.basho.com
> > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20100825/9a5da4a2/attachment.html>


More information about the riak-users mailing list