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,

(d...@127.0.0.1)78> Client:list_buckets().
{ok,[<<"test1">>,<<"groceries">>,<<"abcd">>,<<"abcd4">>,
     <<"abcd3">>,<<"abcd2">>,<<"abcd1">>]}

A related question - Once the buckets are created, is there anyway to delete them?

Best,
Rajiv


_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to