On 2 Apr 2014, at 09:21, David James <[email protected]> wrote:

> What versions(s) of Riak have allow_mult=true by default? Which ones have 
> allow_mult=false by default?

All released versions of Riak have allow_mult=false for default buckets. All 
release version of Riak only have default buckets.

2.0 will have allow_mult=true as default for typed buckets, and 
allow_mult=false for untyped/legacy buckets.

Which pre did it change in? I don’t know. But certainly from pre20 it is the 
case. I think it would be very hard for any client to support different pre 
releases.

Why? As stated by Eric and myself, for backwards compatibility with existing 
data and clusters. But the change to `true` for typed buckets is because we 
think that is the correct way to run Riak.

> 
> I thought this was decided in the early days of Riak. Why the back and forth 
> now?
> 

It was, there is a lot of history. Originally Basho wanted allow_mult=true, I 
think they opted for false for ease of take up/adoption, but have since 
realised that Riak is safest with allow_mult=true. The back-and-forth in the 
press reflects I suppose the difficulty of making a decision, and also, the 
difficulty of doing the “right” thing after the “wrong” thing has been done.

Cheers

Russell

> 
> On Wed, Apr 2, 2014 at 4:16 AM, Eric Redmond <[email protected]> wrote:
> This was a changed back a few weeks ago, where allow_mult is back to false 
> for buckets without a type (default), but is true for buckets with a type.
> 
> Sorry for the back and forth, but we decided it would be better to keep it as 
> false so as to not break existing users. However, we strongly encourage that 
> all users choose typed buckets going forward.
> 
> Eric
> 
> On Apr 2, 2014 1:01 AM, "David James" <[email protected]> wrote:
> In my tests, allow_mult defaults to false for 2.0.0pre20. This was not the 
> case for 2.0.0pre11; my tests behave correctly under pre11.
> 
> This according to my testing with my Clojure Riak driver, Kria:
> https://github.com/bluemont/kria
> 
> My understanding is that Riak intends allow_mult to default to true.
> 
> I'm using the Mac builds from:
> * http://docs.basho.com/riak/2.0.0pre11/downloads/
> * http://docs.basho.com/riak/2.0.0pre20/downloads/
> 
> I also confirmed this to be the case with a Homebrew installation:
> * https://github.com/Homebrew/homebrew/blob/master/Library/Formula/riak.rb
> 
> 
> _______________________________________________
> riak-users mailing list
> [email protected]
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
> 
> 
> _______________________________________________
> riak-users mailing list
> [email protected]
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to