aprs.me/lib/aprsme/cluster
Graham McIntire 9caab57dbe
Make leader election wait for cluster formation
- Leader election now waits for other nodes to connect before starting
- Added cleanup of stale global registrations from disconnected nodes
- Only starts election after cluster is established in clustered mode
- Non-clustered mode continues to elect immediately

This prevents both nodes from becoming leaders when they start
before the cluster is fully formed.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-25 12:48:22 -05:00
..
connection_manager.ex Add distributed Erlang clustering for single APRS-IS connection 2025-07-25 10:30:29 -05:00
leader_election.ex Make leader election wait for cluster formation 2025-07-25 12:48:22 -05:00
packet_distributor.ex Add distributed Erlang clustering for single APRS-IS connection 2025-07-25 10:30:29 -05:00
packet_receiver.ex Add distributed Erlang clustering for single APRS-IS connection 2025-07-25 10:30:29 -05:00
topology.ex Add Cluster.Supervisor directly to application supervision tree 2025-07-25 11:03:20 -05:00