Loosing data with bucket types, custom backend and active data entropy

Matthew Dawson matthew at mjdsystems.ca
Wed May 21 10:23:19 EDT 2014


On May 21, 2014 02:33:40 PM Oleksiy Krivoshey wrote:
> I think I've found that rare case when I don't get deletedvlock before
> 'put' in my code.
> 
> Sorry for bothering everyone :)
> 
> On 21 May 2014 14:15, Oleksiy Krivoshey <oleksiyk at gmail.com> wrote:
> > I think its a different issue and might be my own misunderstanding:
> > 
> > The actual order of operations is (all same key):
> > 
> > 1. write
> > 3. read
> > 4. delete
> > 5. write
> > 6. read - failed
> > 
> > So it might be tombstone problem. However I always do 'get' with
> > 'deletedvclock: true' before 'put' or 'delete' and provide a vclock.
I've seen a similar failure case when I was playing around with Riak.  I found 
the solution is to do a read before 5 with r=n (r=3 in the default case), and 
then do the write with the returned vclock, if any is returned.  Try that and 
see if it helps.
-- 
Matthew




More information about the riak-users mailing list