Atomicity of if_not_modified?

Kresten Krab Thorup krab at
Mon Jan 7 09:39:28 EST 2013


When a Riak write "fails" the value can still have been written.

Failure is really just a notification that the write didn't complete as requested, usually because one or more of the cluster writes failed.

And being written, even just to a single node, that singly written value can later be read and supersede earlier (successfully) written ones.


On Jan 7, 2013, at 2:44 PM, qaspar <snooper77 at<mailto:snooper77 at>> wrote:

Justin Sheehy wrote
Yes, I confirmed this earlier in this thread:


Sorry for the double-post, that was not intended. What about setting
DW=DR=2? In this case only at most one partition can succeed at writing, and
the partition that fails to durably write the value would be interpreted as
'failed', and one could simply retry a bit later. What do you think?


View this message in context:
Sent from the Riak Users mailing list archive at<>.

riak-users mailing list
riak-users at<mailto:riak-users at>

Mobile: + 45 2343 4626 | Skype: krestenkrabthorup | Twitter: @drkrab
Trifork A/S  |  Margrethepladsen 4  | DK- 8000 Aarhus C |  Phone : +45 8732 8787  |<>

More information about the riak-users mailing list