A couple of quick notes (that may be perfectly obvious, but just in case) to 
augment Joe's response:

Nodes will have to be restarted before those properties take effect.

Increasing n_val on buckets is risky: old keys will still only live on the 
original n_val (smaller) number of nodes, but requests for delete and read will 
expect them to live on all of the new n_val quantity of nodes.  Similarly, I 
would assume that changing the hash function will result in significant 
confusion when old keys are present.

-John

On Jun 17, 2013, at 10:39 AM, Joe Caswell <jcasw...@basho.com> wrote:

> When you set a custom property on a bucket, the custom settings as well as 
> the current defaults are stored and gossiped among the nodes.
> When Riak checks a property for a bucket, it checks for these previously 
> stored settings first, then falls back on the default props. 
> When you change default_bucket_props, any buckets whose settings have been 
> modify from the defaults, and never reset 
> (http://docs.basho.com/riak/latest/references/apis/http/HTTP-Reset-Bucket-Properties/)
>  will continue to use their stored settings, all other buckets will use the 
> new default.
> 
> Joe
> 
> From: Louis-Philippe Perron <lpper...@gmail.com>
> Date: Monday, June 17, 2013 9:20 AM
> To: <riak-users@lists.basho.com>
> Subject: bucket properties
> 
> Hi list,
> I'd like to know what happens when you modify some default_bucket_props, are 
> all the previously created buckets for which no properties had been set 
> affected by the new default properties, or only the newly created buckets 
> inherit the default_bucket_props?
> thanks!
> 
> L-P
> _______________________________________________ riak-users mailing list 
> riak-users@lists.basho.com 
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
> _______________________________________________
> riak-users mailing list
> riak-users@lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to