mirror of
https://github.com/tailscale/tailscale.git
synced 2026-10-23 03:37:19 +09:00
When a node is deleted, control answers its map requests with a 404 and the client keeps retrying in its current state, so watchers like containerboot can't tell a deleted node from a lost connection. This wraps that error in ErrNodeRemoved, and LocalBackend then moves to NeedsLogin and sets a node-removed health warning, both cleared on the next netmap or profile switch. It repurposes #18701 as a stopgap until a broader fix, such as structured errors from control, exists. Updates #18700 Signed-off-by: chaosinthecrd <tom@tmlabs.co.uk>