RaftFleet.remove_dead_pids_located_in_dead_node

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

remove_dead_pids_located_in_dead_node(dead_node)

View Source

Specs

remove_dead_pids_located_in_dead_node(node()) :: :ok

Removes member pids that reside in the specified dead node from all existing consensus groups.

Target consensus groups are:

If a target consensus group does not have an established leader, then this function tries to remove dead pids (if any) by using RaftedValue.force_remove_member/2.

This function crashes if the RaftFleet.Cluster consensus group does not have a leader. Each of the effects of this function is idempotent; you can freely call this function multiple times in case of failure.

Use this function to resolve issues when e.g. some node suddenly died without cleaning up itself. The caller must be sure that the dead_node has definitely died.