Joshua Partogi <[email protected]> wrote:

jp> I tried to look for Riak API for getting clusters information on the
jp> wiki with no luck. Is there any API in Riak for getting the number
jp> of node involved and alive/dead in the cluster?

Joshua, the exported functions in riak_core_ring.erl are probably what
you're looking for:

    -export([fresh/0,fresh/1,fresh/2,preflist/2,
             owner_node/1,all_members/1,num_partitions/1,all_owners/1,
             transfer_node/3, rename_node/3, reconcile/2, my_indices/1,
             index_owner/2,diff_nodes/2,random_node/1, random_other_node/1,
             random_other_index/1,
             random_other_index/2,
             all_preflists/2,
             get_meta/2, update_meta/3, equal_rings/2]).

-Scott

_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to