Bucket creation and deletion
adamhunter at me.com
Fri May 21 18:36:39 EDT 2010
Buckets act as a namespace only if you do not specify any properties for them. They come into existence on demand, so there is currently no meaningful way to delete them. I *heard* Basho was considering using DELETE to a bucket to empty its contents.
On May 21, 2010, at 6:24 PM, Rajiv M Ranganath wrote:
> Hi there,
> Is it default behavior in Riak (thru' the HTTP interface) that everytime a GET request is issued, a bucket automatically gets created if one does not exist?
> Thru' the web interface, I basically did,
> curl -v http://127.0.0.1:8091/riak/abcd1
> curl -v http://127.0.0.1:8091/riak/abcd2
> curl -v http://127.0.0.1:8091/riak/abcd3
> curl -v http://127.0.0.1:8091/riak/abcd4
> and then, via the erlang APIs, the output of Client:list_buckets() showed,
> (dev1 at 127.0.0.1)78> Client:list_buckets().
> A related question - Once the buckets are created, is there anyway to delete them?
> riak-users mailing list
> riak-users at lists.basho.com
More information about the riak-users