RaftEx (raft_ex v0.3.1)
View SourcePrimary module for interacting with RaftEx servers and clusters.
Summary
Functions
Get cluster status.
Delegates to RaftEx.App.Cluster.status/1.
Look up the current leader for a cluster from the local Leaderboard.
Form a distributed Raft cluster across multiple nodes.
Delegates to RaftEx.App.Cluster.form_cluster/4.
Join an existing Raft cluster.
Delegates to RaftEx.App.Cluster.join_cluster/5.
Get overview of all clusters from the Leaderboard.
Get the local server ID for a cluster.
Derive a stable UID for a cluster name.
Start distributed Erlang and connect to seed nodes.
Start node discovery for automatic topology management.
Types
@type idxterm() :: {index(), non_neg_integer()}
@type index() :: non_neg_integer()
@type membership() :: :voter | :promotable | :non_voter | :unknown
@type uid() :: binary()
Functions
Get cluster status.
Delegates to RaftEx.App.Cluster.status/1.
Look up the current leader for a cluster from the local Leaderboard.
Form a distributed Raft cluster across multiple nodes.
Delegates to RaftEx.App.Cluster.form_cluster/4.
Join an existing Raft cluster.
Delegates to RaftEx.App.Cluster.join_cluster/5.
Get overview of all clusters from the Leaderboard.
Get the local server ID for a cluster.
Derive a stable UID for a cluster name.
The UID is deterministic so restarting or re-forming a cluster with the same name recovers its existing log instead of starting from an empty directory.
Start distributed Erlang and connect to seed nodes.
Start node discovery for automatic topology management.