If you wrote to the test bucket, prior to changing your n_val, then the n_val property was stored to the bucket at that time.*
<http://www.loomlearning.com/> Jonathan Langevin Systems Administrator Loom Inc. Wilmington, NC: (910) 241-0433 - jlange...@loomlearning.com - www.loomlearning.com - Skype: intel352 * On Thu, Sep 1, 2011 at 10:21 AM, Alexander Sicular <sicul...@gmail.com>wrote: > Did you write to test before you changed the default? > > @siculars > http://siculars.posterous.com > > Sent from my rotary phone. > On Sep 1, 2011 9:51 AM, "Giancarlo Frison" <gfri...@chelab.com> wrote: > > 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 > >
_______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com