aprs.me/lib/aprsme/cluster
Graham McIntire 66061a5abe
Fix leader election: prevent self-deregistration on re-election
: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.
2026-02-19 17:21:26 -06:00
..
connection_manager.ex more tests 2026-02-09 17:21:16 -06:00
leader_election.ex Fix leader election: prevent self-deregistration on re-election 2026-02-19 17:21:26 -06:00
packet_distributor.ex Performance improvements, code cleanup, remove sobelow 2026-02-19 14:51:01 -06:00
packet_receiver.ex Complete nested module alias fixes and update Sobelow skips 2026-02-09 11:26:47 -06:00
topology.ex Add Cluster.Supervisor directly to application supervision tree 2025-07-25 11:03:20 -05:00