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.
Delegate to the backend's RaftEx.add_member/4 with an explicit membership role.
Return the configured backend module.
Delegate to the backend's RaftEx.consistent_query/3.
Delegate to the backend's RaftEx.demote_member/3.
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.force_delete_server/2.
Delegate to the backend's RaftEx.key_metrics/2.
Delegate to the backend's RaftEx.leader_query/3.
Delegate to the backend's RaftEx.local_query/3.
Delegate to the backend's RaftEx.member_overview/2.
Delegate to the backend's RaftEx.members/2.
Delegate to the backend's RaftEx.process_command/3.
Delegate to the backend's RaftEx.promote_member/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.
Delegate to the backend's RaftEx.transfer_leadership/3.
Functions
Delegate to the backend's RaftEx.add_member/3.
Delegate to the backend's RaftEx.add_member/4 with an explicit membership role.
@spec backend() :: module()
Return the configured backend module.
Delegate to the backend's RaftEx.consistent_query/3.
Delegate to the backend's RaftEx.demote_member/3.
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.force_delete_server/2.
Delegate to the backend's RaftEx.key_metrics/2.
Delegate to the backend's RaftEx.leader_query/3.
Delegate to the backend's RaftEx.local_query/3.
Delegate to the backend's RaftEx.member_overview/2.
Delegate to the backend's RaftEx.members/2.
Delegate to the backend's RaftEx.process_command/3.
Delegate to the backend's RaftEx.promote_member/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.
Delegate to the backend's RaftEx.transfer_leadership/3.