:global.register_name returns :no even when the name is already registered to the calling PID. This caused the leader to clear its own leadership state every 5 seconds after cluster formation triggered a redundant re-election attempt. Now checks if we already hold the registration before attempting to re-register, preserving leadership state across cluster topology changes. |
||
|---|---|---|
| .. | ||
| connection_manager.ex | ||
| leader_election.ex | ||
| packet_distributor.ex | ||
| packet_receiver.ex | ||
| topology.ex | ||