On Mon, Jan 20, 2014 at 12:50 PM, Russell Brown <[email protected]>wrote: > > I guess you must be right. Riak’s vnode version vectors, in the case > described in 3.2 would generate siblings. The put of `v` with an empty VV > would lead to the value `v` and VV {b, 1}, but the put of `w` with no VV > would not lead to a VV of {b, 2} and overwriting of {b, 1}=`v`. > > What Riak does is this: look at the incoming VV, and increment it (so {b, > 1}=`w` for that second client put) read the state on disk ({b, 1}=`v`) > realise that these values are concurrent (the incoming value does not > dominate the local value), so keep them both, and generate a VV that > dominates ({b, 2}=`v`, `w`). > > Does that answer your question? >
It sure does. Thanks Russell.
_______________________________________________ riak-users mailing list [email protected] http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
