Thin boundary around the experimental raft_ex API.
Production always delegates to RaftEx. Tests can set the application env
:raft_adapter to a module exposing the same functions, which makes Raft
failure and membership branches deterministic without a live cluster.
Summary
Functions
Delegate to the backend's RaftEx.add_member/3.
Return the configured backend module.
Delegate to the backend's RaftEx.App.System.derive_names/1.
Delegate to the backend's RaftEx.find_leader/1.
Delegate to the backend's RaftEx.members/2.
Delegate to the backend's RaftEx.process_command/3.
Delegate to the backend's RaftEx.remove_member/3.
Delegate to the backend's RaftEx.start_cluster/5.
Delegate to the backend's RaftEx.start_or_restart_cluster/5.
Delegate to the backend's RaftEx.start_server/5.
Delegate to the backend's RaftEx.stop_server/2.
Delegate to the backend's RaftEx.App.System.start/1.
Delegate to the backend's RaftEx.App.System.stop/1.
Functions
Delegate to the backend's RaftEx.add_member/3.
@spec backend() :: module()
Return the configured backend module.
Delegate to the backend's RaftEx.App.System.derive_names/1.
Delegate to the backend's RaftEx.find_leader/1.
Delegate to the backend's RaftEx.members/2.
Delegate to the backend's RaftEx.process_command/3.
Delegate to the backend's RaftEx.remove_member/3.
Delegate to the backend's RaftEx.start_cluster/5.
Delegate to the backend's RaftEx.start_or_restart_cluster/5.
Delegate to the backend's RaftEx.start_server/5.
Delegate to the backend's RaftEx.stop_server/2.
Delegate to the backend's RaftEx.App.System.start/1.
Delegate to the backend's RaftEx.App.System.stop/1.