There's no way to specifically delete a bucket - buckets are, in part, a
logical namespace. Once you delete every key in a bucket the bucket will
effectively be deleted. The easiest thing to do in a test environment is to
run list keys on the bucket. This is a terrible idea for a production
system since list keys can potentially put pretty high load on your system.

See
http://docs.basho.com/riak/latest/references/apis/http/#Bucket-Operationsfor
confirmation from Basho.

---
Jeremiah Peschka
Founder, Brent Ozar Unlimited
Microsoft SQL Server MVP



On Sun, Nov 18, 2012 at 7:47 PM, 郎咸武 <[email protected]> wrote:

> Hi guys,
> I create a <<"test">> bucket. Now i want to delete the bucket. But i can
> not found the API in the wiki.
> How to delete the bucket? Please give a piece idea.
>
>  Cheers, Jason.
>
> --
> 只为成功找方法,不为失败找理由
>
> _______________________________________________
> riak-users mailing list
> [email protected]
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to