Quickly deleting + recreating item in Riak deletes new item

Andrew Thompson andrew at hijacked.us
Mon Jul 15 09:55:05 EDT 2013

See this old post:


Effectively, you should be doing a GET before ANY PUT, and using the
deletedvclock option if you're using PB or checking for the
X-Riak-VClock header on the 404 response. If you get back a tombstone,
you should be doing the new PUT with that tombstone so you don't
accidentally create a sibling with that tombstone.

Alternatively, turn off allow_mult=false, so you can resolve the
siblings yourself.


More information about the riak-users mailing list