RaftFleet.find_consensus_group_with_no_established_leader
You're seeing just the function
find_consensus_group_with_no_established_leader, go back to RaftFleet module for more information.
Specs
find_consensus_group_with_no_established_leader() ::
:ok | {group_name :: atom(), [{node(), map()}]}
Inspects members of consensus groups and finds a group (if any) in which no leader exists.
If one found, returns the name of the consensus group and also statuses (as maps) of existing members.
If no consensus group is in trouble, returns :ok.
Target consensus groups are:
RaftFleet.Cluster, which is a special consensus group that manages metadata for other consensus groups- all registered consensus groups (i.e., the ones returned by
RaftFleet.consensus_groups/0)
This function is primarily intended to be used within remote console. Use this function to detect problematic consensus group in your cluster.