Re: Missing keys in bucket?

2013-09-03 Thread Jeremiah Peschka
TL;DR: Distributed databases are spooky, your app must account for entertaining side effects like you described. Long form: There is some window of time between issuing a delete, Riak writing the initial tombstone, and then Riak deleting the underlying data from disk [1]. In any situation where

Re: Missing keys in bucket?

2013-09-03 Thread Anders Hedström
The funny thing is that there's no delete's issued... Can I still get Tombstone objects? On Tue, Sep 3, 2013 at 4:30 PM, Jeremiah Peschka wrote: > TL;DR: Distributed databases are spooky, your app must account for > entertaining side effects like you described. > > Long form: > > There is some

Re: Missing keys in bucket?

2013-09-03 Thread Tom Santero
duplicate thread. issue resolved [0]. sorry for the extra noise. [0] http://lists.basho.com/pipermail/riak-users_lists.basho.com/2013-September/013194.html On Fri, Aug 30, 2013 at 8:54 AM, Anders Hedström wrote: > Hello, > > I've got a riak cluster with 3 nodes. > > I use the $bucket index to

Missing keys in bucket?

2013-09-03 Thread Anders Hedström
Hello, I've got a riak cluster with 3 nodes. I use the $bucket index to get all keys for a bucket. Then I loop thru the returned list and try to fetch each object for each key. For some keys that was returned I get a 404 back when trying to fetch the object... How is this possible? What can have

Re: Missing keys in bucket?

2013-09-03 Thread Anders Hedström
Hi Andrew, thanks for the response and YES the 404 I get back contains X-Riak-Vclockheader, e.g. HTTP/1.1 404 Object Not Found Date: Tue, 03 Sep 2013 11:22:26 GMT Content-Length: 10 Content-Type: text/plain Server: MochiWeb/1.1 WebMachine/1.9.2 (someone had painted it blue) X-Riak-Vclock: a85hYG

Re: Missing keys in bucket?

2013-09-02 Thread Andrew Thompson
Tombstones are still riak objects. Do the 404 responses you get back have an X-Riak-Vclock header? Andrew ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Missing keys in bucket?

2013-09-02 Thread Anders Hedström
Hello, I've got a riak cluster with 3 nodes. I use the $bucket index to get all keys for a bucket. Then I loop thru the returned list and try to fetch each object for each key. For some keys that was returned I get a 404 back when trying to fetch the object... How is this possible? What can have