[ANN] Riak 2.0pre1

Elias Levy fearsome.lucidity at gmail.com
Mon Jan 20 15:58:57 EST 2014


On Mon, Jan 20, 2014 at 12:50 PM, Russell Brown <russell.brown at me.com>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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20140120/487461b7/attachment.html>


More information about the riak-users mailing list