RaftFleet.remove_consensus_group

You're seeing just the function remove_consensus_group, go back to RaftFleet module for more information.
Link to this function

remove_consensus_group(name)

View Source

Specs

remove_consensus_group(atom()) :: :ok | {:error, :not_found | :no_leader}

Removes an existing consensus group identified by name.

Removing a consensus group will eventually trigger terminations of all members of the group. The replicated value held by the group will be discarded.

Note that remove_consensus_group/1 does not immediately terminate existing member processes; they will be terminated afterward by background worker process (see also :balancing_interval in RaftFleet.Config). Note also that, if Raft logs and snapshots has been created (see also RaftFleet.Config), remove_consensus_group/1 does not remove these files.