Files
Paul Lorenz 9c3c9033b3 Reconnect the control channel on heartbeat timeout and redial a standalone controller when it closes. Fixes #4478
- adds CtrlChannel.Reconnect: the dial side closes its underlays, and the channel, which survives losing
  them all, redials a new group while it and its controller registration stay in place; the listener
  side closes so the controller redials
- has the heartbeat check reconnect on the first timeout and close when a second timeout, measured from
  the reconnect, passes with no heartbeat answered; the reconnect is not recorded as a response, so the
  controller stays unresponsive until it answers
- records each endpoint that reaches a controller, including one refused as a duplicate, while the
  controller set is not authoritative, so the close handler can redial a standalone controller on any
  of them
- adds an authoritative flag to controller set updates, set only for a leader's list at a newer index;
  follower lists, merges, address settings and the endpoints file only add
- refuses to register a controller absent from an authoritative set, and stops retrying a bare endpoint
  that reaches one
- tests Reconnect, the heartbeat check, the controller set and which updates are authoritative, and with
  integration tests a controller outage exceeding the heartbeat timeout and redialing a standalone
  controller after a channel close
- notes the fix in the changelog
2026-11-05 10:08:39 -05:00
..
2022-06-30 17:45:08 -04:00
2026-01-28 15:01:35 -05:00
2026-01-28 15:01:35 -05:00
2026-01-28 15:01:35 -05:00
2026-01-28 15:01:35 -05:00
2026-01-28 15:01:35 -05:00
2026-01-28 15:01:35 -05:00