Sure, I've just added the default_bucket_props to the default app.config https://gist.github.com/1186421
Giancarlo Frison On Thu, Sep 1, 2011 at 5:21 PM, Dan Reverri <d...@basho.com> wrote: > What does your app.config file look like? Can you provide a pastie/gist of > it? > > Thanks, > Dan > > Daniel Reverri > > Developer Advocate > Basho Technologies, Inc. > d...@basho.com > > > > On Thu, Sep 1, 2011 at 7:48 AM, Giancarlo Frison <gfri...@chelab.com>wrote: > >> Hi Alexander, >> >> I shutdown riak, delete data/ folder, add default settings entity on >> app.config, finally started riak. >> >> I assumed that deleting data/ folder erase everything, isn't it? >> >> Thanks, >> >> Giancarlo Frison >> >> >> >> On Thu, Sep 1, 2011 at 4:21 PM, 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