tailscale/control/controlclient
Brad Fitzpatrick 2c965ab540 types/netmap, ipn/ipnlocal, control/controlclient: rename NodeMutationAdd to NodeMutationUpsert
NodeMutationAdd was a misleading name: a PeersChanged entry in a
MapResponse can represent either a truly new peer or a full
replacement for an existing peer that couldn't be expressed as a
PeerChangedPatch. Calling it "Add" implied it was always a completely
new node, which is wrong.  (I'd changed my mind on the design of
mapping add/delete events to NodeMutations halfway through #19607 and
forgot to update the name, even though I'd updated half the docs)

Rename it to NodeMutationUpsert to reflect the actual semantics: the
node should be inserted or replaced in the peer map regardless of
whether it already existed.

Updates #19607
Updates #12542

Change-Id: Iebd3daddb3318cba02e115a1b184fcb3ee8f83d6
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2026-05-27 08:37:14 -07:00
..
auto.go ipn/ipnlocal, control/controlclient: process node adds/removes in constant time 2026-05-21 09:26:19 -07:00
client.go control,health,ipn: move IP forwarding check to health tracker (#19007) 2026-03-18 16:24:12 -04:00
controlclient_test.go control/controlclient: handle 429 responses during node registration 2026-04-15 18:54:08 +01:00
direct_test.go control/controlclient: handle 429 responses during node registration 2026-04-15 18:54:08 +01:00
direct.go types/netmap, ipn/ipnlocal, control/controlclient: rename NodeMutationAdd to NodeMutationUpsert 2026-05-27 08:37:14 -07:00
errors.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
map_debug.go control/controlclient: add patchify miss stats 2026-04-15 08:05:57 -07:00
map_test.go control/controlclient: fix deadlock in map session change queue processing (#19828) 2026-05-22 07:13:18 -07:00
map.go control/controlclient: fix deadlock in map session change queue processing (#19828) 2026-05-22 07:13:18 -07:00
sign_supported_test.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
sign_supported.go control/controlclient: enable request signatures on macOS (#19317) 2026-04-15 14:11:14 -04:00
sign_unsupported.go control/controlclient: enable request signatures on macOS (#19317) 2026-04-15 14:11:14 -04:00
sign.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
status.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00