Daniel, When you do a bucket list you are actually listing all keys in 1/N partitions and extracting the bucket names from the keys(which are bucket++key). So, when you remove all the keys in a bucket you effectively remove the bucket because no keys in the keylist will return as being members of that bucket.
-- Brian Sparrow Developer Advocate Basho Technologies Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Thursday, September 5, 2013 at 12:53 PM, Daniel Iwan wrote: > If I remove all keys from a bucket that bucket is not visible when I do > > curl http://127.0.0.1:8098/buckets?buckets=true > > I know buckets are only prefixes for keys so in theory bucket does not know > if it's empty (or maybe it does) but to me it looks like only buckets with > keys are visible. > > Is there any purging mechanism in Riak to remove unused buckets? > > Regards > Daniel > > > _______________________________________________ > riak-users mailing list > riak-users@lists.basho.com (mailto:riak-users@lists.basho.com) > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com > >
_______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com