【问题标题】:How to list all the bucket types in riak?如何列出riak中的所有桶类型?
【发布时间】:2015-08-27 10:08:26
【问题描述】:

使用 Riak Client(erlang),我可以列出默认存储桶类型的所有存储桶。但是我怎样才能列出所有的桶类型呢?或者如果我不能由客户执行此操作,我如何才能知道这一点?

【问题讨论】:

    标签: erlang riak


    【解决方案1】:

    对于 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>
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2015-10-25
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-10-14
      • 1970-01-01
      相关资源
      最近更新 更多