aprs.me/lib/aprsme/cluster
Graham McIntire 37c9ac79ed
Fix Process.alive? crash with remote PIDs
The cleanup_stale_registrations function was calling Process.alive?
on remote PIDs, which causes an ArgumentError. Fixed by:

- Using Process.alive? only for local PIDs
- Using :rpc.call for remote PID liveness checks
- Adding proper error handling for RPC failures
- Cleaning up registrations for disconnected nodes

This prevents GenServer crashes when checking leader status.

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-25 12:54:13 -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 Fix Process.alive? crash with remote PIDs 2025-07-25 12:54:13 -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