mirror of
https://github.com/openziti/ziti.git
synced 2026-10-26 13:39:58 +00:00
8a4c7e307b
A link a router reported without re-announcing is known only from that report, under an id the router will never mention again, so its disconnect is the only removal the link will ever get. A router that flags its reconnect announcement a full refresh is the opposite case: it states authoritatively which links it still has and the controller prunes the rest against that. - retires a disconnecting router's links only where that router does not prune its own - leaves the links of a router that does prune them, since the announcement is a bounded best-effort send and an outage outliving its retries would otherwise leave this controller holding no links for a router that is up - records on the router whether it announces a full refresh, taken from what it said on connect