2015-06-11 26 views
2

使用Riak客户端(erlang),我可以列出默认存储桶类型的所有存储桶。但是我怎样才能列出所有的桶类型?或者如果我不能由客户做到这一点,我怎么能找到这个?如何列出riak中的所有存储桶类型?

回答

3

对于v2.1.4,riak-admin bucket-type list是你在找什么。为riak-admin bucket-type(在先前的版本从文档了Riak截取)

其他子命令包括:​​

Command Action         Form 
create  create or modify a bucket type   create <type> <json> 
      before activation 

activate activate a bucket type     activate <type> 

list  list all currently available bucket 
      types and their activation status  list 

status  display the status and properties  status <type> 
      of a specific bucket type 

update  update a bucket type after activation update <type> <json> 
相关问题