Conflict Resolution

Alexander Sicular siculars at gmail.com
Tue Jul 13 13:21:35 EDT 2010


I doubt it. Nothing in riak is guaranteed to be ordered, afaik. Best bet is when using allow_mult=true, enabling siblings in buckets, is to order the multi response by last modified date in your application.


On Jul 13, 2010, at 1:06 PM, Misha Gorodnitzky wrote:

> Hello all,
> 
> We're trying to sort out a conflict resolution strategy and are
> wondering if we can rely on the order of the conflicted values in a
> document for it. So for example, for a given document we might end up
> with the values:
> 
>  [ "Wednesday", "Tuesday", "Thursday" ]
> 
> From doing a little testing, the last value in a multipart document is
> the first, so "Thursday" in this case, can we assume that this will
> always be the case? And is it a good idea to base conflict resolution
> on this?
> 
> Regards,
> --Misha
> 
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com





More information about the riak-users mailing list