Hi Sean, I setup only default_bucket_props. no custom buckets settings.
any hints? Thanks! Giancarlo Frison On Thu, Sep 1, 2011 at 2:24 PM, Sean Cribbs <s...@basho.com> wrote: > Giancarlo, > > Did you set a bucket property on the 'test' bucket before setting the > defaults? If so, then the defaults at that time got merged with the property > you set and stored in the ring state, making the new default props have no > effect on them. > > On Thu, Sep 1, 2011 at 4:02 AM, Giancarlo Frison <gfri...@chelab.com>wrote: > >> Hi all, >> >> I'm trying to change the bucket default settings on app.config, I insert >> these row find on http://wiki.basho.com/Configuration-Files.html : >> >> {default_bucket_props, [{n_val,1}, >> {allow_mult,false}, >> {last_write_wins,false}, >> {precommit, []}, >> {postcommit, []}, >> {chash_keyfun, {riak_core_util, chash_std_keyfun}}, >> {linkfun, {modfun, riak_kv_wm_link_walker, mapreduce_linkfun}}]} >> >> I just update n_val to 1. >> >> I shutdown riak, drop the data/ folder and start riak. Seems the new >> config isn't apply because I get n_val=3 again: >> >> curl http://localhost:8098/riak/test >> >> {"props":{"name":"test","n_val":3,"allow_mult":false,"last_write_wins":false,"precommit":[],"postcommit":[],"chash_keyfun":{"mod":"riak_core_util","fun":"chash_std_keyfun"},"linkfun":{"mod":"riak_kv_wm_link_walker","fun":"mapreduce_linkfun"},"old_vclock":86400,"young_vclock":20,"big_vclock":50,"small_vclock":10,"r":"quorum","w":"quorum","dw":"quorum","rw":"quorum"}} >> >> How I can change the bucket settings? >> >> Thanks >> >> @gfrison >> >> >> >> _______________________________________________ >> riak-users mailing list >> riak-users@lists.basho.com >> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com >> >> > > > -- > Sean Cribbs <s...@basho.com> > Developer Advocate > Basho Technologies, Inc. > http://www.basho.com/ > >
_______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com