On Fri, Jan 4, 2013 at 11:53 AM, Elias Levy <[email protected]> wrote:
>>>
>> With your example of N=3, R=2 and W=2, if two clients are updating at the
>> same time to the same object, then it actually depends on the "allow_mult"
>> and "last_write_wins" variable.
>
>
> Correct me if I am wrong, but the caveat here is that the R must be default
> values for the bucket.  The internal get performed by the coordinating node
> handing the INM request does not actually use the R and W value of the INM
> request.  Correct?
>
> It would seem advisable to change this behavior.  Maybe the R value of the
> internal get should match the W value of the INM request.

And, doesn't every description of riak behavior have to include the
scenario where the network is partitioned and updates are
simultaneously performed by entities that can't contact each other?
If it weren't for that possibility, it could just elect a master and
do real atomic operations.

-- 
   Les Mikesell
     [email protected]

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

Reply via email to