: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. |
||
|---|---|---|
| .. | ||
| aprsme | ||
| aprsme_web | ||
| mix/tasks | ||
| aprs_web.ex | ||
| aprsme.ex | ||