Atomicity of if_not_modified?
Kresten Krab Thorup
krab at trifork.com
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 gmail.com<mailto:snooper77 at gmail.com>> 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: http://riak-users.197444.n3.nabble.com/Atomicity-of-if-not-modified-tp4026430p4026482.html
Sent from the Riak Users mailing list archive at Nabble.com<http://Nabble.com>.
riak-users mailing list
riak-users at lists.basho.com<mailto:riak-users at lists.basho.com>
Mobile: + 45 2343 4626 | Skype: krestenkrabthorup | Twitter: @drkrab
Trifork A/S | Margrethepladsen 4 | DK- 8000 Aarhus C | Phone : +45 8732 8787 | www.trifork.com<http://www.trifork.com>
More information about the riak-users