mirror of
https://github.com/openziti/ziti.git
synced 2026-11-07 02:30:16 +00:00
9c3c9033b3
- 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