You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/types/persist
Maisem Ali dd50dcd067 ipn/ipnlocal: handle untagging nodes better
We would end up with duplicate profiles for the node as the UserID
would have chnaged. In order to correctly deduplicate profiles, we
need to look at both the UserID and the NodeID. A single machine can
only ever have 1 profile per NodeID and 1 profile per UserID.

Note: UserID of a Node can change when the node is tagged/untagged,
and the NodeID of a device can change when the node is deleted so we
need to check for both.

Updates #713

Signed-off-by: Maisem Ali <maisem@tailscale.com>
2 years ago
..
persist.go ipn/ipnlocal: handle untagging nodes better 2 years ago
persist_clone.go ipn/ipnlocal: handle untagging nodes better 2 years ago
persist_test.go ipn/ipnlocal: handle untagging nodes better 2 years ago
persist_view.go ipn/ipnlocal: handle untagging nodes better 2 years ago