Thanks Sean . ---------- Forwarded message ---------- From: Sean Cribbs <s...@basho.com> Date: Tue, Sep 6, 2011 at 6:24 PM Subject: Re: Set Bucket property through app.config file To: raghwani sohil <sohil4...@gmail.com> Cc: riak-users@lists.basho.com
Raghwani, Although it appears to have multiple entries of the same key, it will only use the first one it finds (which will be your changed values). Note that when specifying the default_bucket_props in app.config on 0.14.x, you must also supply the chash_keyfun as one of the properties: {chash_keyfun, {riak_core_util,chash_std_keyfun}} This awkwardness will be fixed in an upcoming release. On Tue, Sep 6, 2011 at 8:40 AM, raghwani sohil <sohil4...@gmail.com> wrote: > Hi , > > I have set* r ,w , dw *through *app.config* file . When i display > property of that bucket it's showing me > > r ,w, dw at two places i.e > > {"props":{"name":"test1","*n_val":2,"r":2,"w":2,"dw":2*,"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"*}} > > > This is part of my app.config file > > %% Riak Core config > {riak_core, [ > //some other part > > {default_bucket_props, [{n_val,2},{r,2},{w,2},{dw,2}]} > ]}, > > Is It right way to set r ,w , dw in app.config file ? > > _______________________________________________ > 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