diff options
| author | M. J. Fromberger <fromberger@tailscale.com> | 2026-04-15 11:07:42 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-15 11:07:42 -0700 |
| commit | 1e4934659b510acbdeee23b7b60e9231e172e42e (patch) | |
| tree | f934c26ce4a8433eaa57b71820e73e331fb0bc51 /go.sum | |
| parent | 958bcda5bff512876c5d11aa10af4b056ca62c4b (diff) | |
| download | tailscale-1e4934659b510acbdeee23b7b60e9231e172e42e.tar.xz tailscale-1e4934659b510acbdeee23b7b60e9231e172e42e.zip | |
ipn/ipnlocal: discard cached netmaps upon panic during SetNetworkMap (#19414)
For debugging purposes, unstable builds will sometimes intentionally panic for
unexpected behaviours. We observed such a panic after loading a cached netmap,
but because we had a valid cached map, the client was unable to recover on its
own and the operator had to manually reset the cache.
As a defensive hedge, when netmap caching is enabled, check for a panic during
installation of a net network map: If one occurs, discard any cached netmaps
before letting the panic unwind, so that we do not lose the panic itself, but
reduce the need for manual intervention.
Updates #12639
Updates tailscale/corp#27300
Change-Id: I0436889c6bdc2fa728c9cb83630cd7b00a72ce68
Signed-off-by: M. J. Fromberger <fromberger@tailscale.com>
Diffstat (limited to 'go.sum')
0 files changed, 0 insertions, 0 deletions
