| assign/2 | Forcibly assign a partition to a specific node. |
| check_ring/0 | Check the local ring for any preflists that do not satisfy n_val. |
| check_ring/1 | |
| check_ring/2 | Check a ring for any preflists that do not satisfy n_val. |
| hash_is_partition_boundary/2 | For user-facing tools, indicate whether a specified hash value is a valid "boundary" value (first hash in some partition). |
| hash_to_partition_id/2 | Map a key hash (as binary or integer) to a partition ID [0, ring_size). |
| partition_id_to_hash/2 | Identify the first key hash (integer form) in a partition ID [0, ring_size). |
assign(Partition, ToNode) -> any()
Forcibly assign a partition to a specific node
check_ring() -> any()
Check the local ring for any preflists that do not satisfy n_val
check_ring(Ring) -> any()
check_ring(Ring, Nval) -> any()
Check a ring for any preflists that do not satisfy n_val
hash_is_partition_boundary(CHashKey::chash:index() | chash:index_as_int(), RingSize::pos_integer()) -> boolean()
For user-facing tools, indicate whether a specified hash value is a valid "boundary" value (first hash in some partition)
hash_to_partition_id(CHashKey::chash:index() | chash:index_as_int(), RingSize::riak_core_ring:ring_size()) -> riak_core_ring:partition_id()
Map a key hash (as binary or integer) to a partition ID [0, ring_size)
partition_id_to_hash(Id::riak_core_ring:partition_id(), RingSize::pos_integer()) -> chash:index_as_int()
Identify the first key hash (integer form) in a partition ID [0, ring_size)
Generated by EDoc