Quickly deleting + recreating item in Riak deletes new item

Gabriel Littman gabe at connectv.com
Mon Jul 15 17:16:47 EDT 2013


Hi,

Another posibility is to create a new bucket for each test run.

Gabe

On Mon, Jul 15, 2013 at 12:06 PM, Matthew Dawson <matthew at mjdsystems.ca>wrote:

> Hi Seth,
> On July 14, 2013 02:25:02 PM Seth Bunce wrote:
> > I had a similar problem. I mitigated the problem by appending a
> > current timestamp (in nanoseconds) to the keys I'm using in my tests.
> > This way I don't have to worry about waiting for Riak to reap
> > tombstones after 3 seconds and I don't have to use
> > delete_mode=immediate. I still do a list keys + delete before each
> > test.
> I think this is what I'm going to have to do.  I tried all the different
> delete_mode settings, but none of them seemed to help.  Thanks for the
> suggestion!
> --
> Matthew
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20130715/4fc9d85b/attachment.html>


More information about the riak-users mailing list