Module riak_core_gossip

riak_core_gossip takes care of the mechanics of shuttling a from one node to another upon request by other Riak processes.

Behaviours: gen_server.

Description

riak_core_gossip takes care of the mechanics of shuttling a from one node to another upon request by other Riak processes.

Additionally, it occasionally checks to make sure the current node has its fair share of partitions, and also sends a copy of the ring to some other random node, ensuring that all nodes eventually synchronize on the same understanding of the Riak cluster. This interval is configurable, but defaults to once per minute.

Function Index

distribute_ring/1
gossip_version/0
handle_call/3
handle_info/2
random_gossip/1Gossip state to a random node in the ring.
random_recursive_gossip/1
recursive_gossip/1
rejoin/2
remove_from_cluster/2
remove_from_cluster/3
send_ring/1
send_ring/2
start_link/0
stop/0

Function Details

distribute_ring/1

distribute_ring(Ring) -> any()

gossip_version/0

gossip_version() -> any()

handle_call/3

handle_call(X1, From, State) -> any()

handle_info/2

handle_info(Info, State) -> any()

random_gossip/1

random_gossip(Ring) -> any()

Gossip state to a random node in the ring.

random_recursive_gossip/1

random_recursive_gossip(Ring) -> any()

recursive_gossip/1

recursive_gossip(Ring) -> any()

rejoin/2

rejoin(Node, Ring) -> any()

remove_from_cluster/2

remove_from_cluster(Ring, ExitingNode) -> any()

remove_from_cluster/3

remove_from_cluster(Ring, ExitingNode, Seed) -> any()

send_ring/1

send_ring(ToNode) -> any()

send_ring/2

send_ring(Node, ToNode) -> any()

start_link/0

start_link() -> any()

stop/0

stop() -> any()


Generated by EDoc