Oh yeah, wrong bucket! o.o fml...
Shuhao
On Thu, Dec 15, 2011 at 10:22 AM, Kostya Rybnikov wrote:
> The only problem with solution like this I had is that if you'll have a
> lot of keys you'll get python httplib error "response too long" :-(
>
>
> On Thu, Dec 15, 2011 at 5:15 PM, Jon Meredith
The only problem with solution like this I had is that if you'll have a lot
of keys you'll get python httplib error "response too long" :-(
On Thu, Dec 15, 2011 at 5:15 PM, Jon Meredith wrote:
> I was suggesting something like this - keys was being built from two
> buckets, but only deleted on o
Shuhau,
Try adding this to your Riak app.config, under the riak_kv section:
{delete_mode, immediate}
On Thu, Dec 15, 2011 at 10:15 AM, Jon Meredith wrote:
> I was suggesting something like this - keys was being built from two
> buckets, but only deleted on one. Moving your code around a litt
I was suggesting something like this - keys was being built from two
buckets, but only deleted on one. Moving your code around a little, would
something like this work?
# Clean up
import riak
print "Clean up time!"
client = riak.RiakClient()
bucket = client.bucket("blog")
keys = bucket.
I'm trying to delete all the keys from the users bucket and the blog bucket
because they are all created by my doctests. I don't want these in my
database (they are garbage.. essentially).
Shuhao
On Thu, Dec 15, 2011 at 9:40 AM, Jon Meredith wrote:
> Hi Shuhau,
>
> Do you intentionally try and
Hi Shuhau,
Do you intentionally try and delete all of the keys from the users bucket?
The keys list is built from the keys in the blog and the users bucket.
Would changing the code to list the blog bucket, delete then verify before
moving on to the users bucket do what you want?
Jon
On Wed, De