bucket-types: renaming and deleting
mbrender at basho.com
Fri Apr 3 14:38:43 EDT 2015
There is unfortunately no way to delete a bucket. More on that later.
If you are in a prototyping phase and are willing to stop Riak, you
would stop services and delete the data stored in whatever backend
you're using (/var/lib/riak/bitcask for example). Alternatively, there
is this python code floating around:
More on buckets -
I appreciate how it was summarize on this StackOverflow question :
A bucket doesn't really exist. It is only a namespace that contains
behaviors and settings to use when reading or storing keys. You can
reset the bucket to default settings, but this does not remote it from
listings. In order to remove the data, you would need to delete each
More on buckets can be found here . You could also consider
stopping Riak and restarting as mentioned here .
Matt Brender | Developer Advocacy Lead
c: +1 617.817.3195
On Wed, Apr 1, 2015 at 1:12 PM, Jonathan Joseph <jonbjoseph at gmail.com> wrote:
> I am evaluating Riak for my employer and need to rename a bucket-type. I
> think that it would also be useful to be able to delete bucket-types.
> In order to delete a bucket-type, do I need to stop Riak and delete the data
> for the bucket-type? If so, what exactly would I delete (under
> /var/lib/riak)? Or is there another way to remove a bucket-type?
> riak-users mailing list
> riak-users at lists.basho.com
More information about the riak-users