Brad Fitzpatrick
296f6c1f78
ipn/ipnlocal: index peers by stable node ID
...
PeerByStableID did an O(n peers) scan, and an upcoming change needs
the same StableNodeID-to-NodeID resolution whenever prefs change (to
resolve the selected exit node for the route manager, which keys
peers by NodeID because that is the identity netmap delta mutations
carry). Maintain a nodeByStableID index alongside the existing
nodeByAddr and nodeByKey indexes, updated on full netmaps and on
delta mutations.
Updates #12542
Change-Id: Id1e5105a7470b02312533f0f46b69e6945cd62f0
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com >
2026-07-11 12:12:37 -07:00
..
2026-06-29 12:57:22 -07:00
2026-06-12 09:41:00 -07:00
2023-02-07 14:34:04 -08:00
2026-07-10 17:39:16 -07:00
2026-03-06 13:32:03 -08:00
2026-06-15 11:41:18 -07:00
2026-06-30 12:44:29 -07:00
2026-01-23 15:49:45 -08:00
2026-06-29 12:57:22 -07:00
2026-07-07 12:10:34 -07:00
2026-01-23 15:49:45 -08:00
2026-07-08 13:34:40 +01:00
2026-05-20 16:29:04 -07:00
2026-06-15 10:00:03 -07:00
2026-05-29 12:23:47 -07:00
2026-06-23 10:41:50 -07:00
2026-01-23 15:49:45 -08:00
2026-06-23 10:41:50 -07:00
2026-01-23 15:49:45 -08:00
2026-01-23 15:49:45 -08:00
2026-03-20 17:29:11 -04:00
2026-07-01 15:35:06 -07:00
2026-06-29 12:57:22 -07:00
2026-01-23 15:49:45 -08:00
2026-07-10 17:39:16 -07:00
2026-07-09 19:08:05 -07:00
2026-06-27 16:11:42 -07:00
2026-03-05 20:13:18 -08:00
2026-07-02 20:26:27 -07:00
2026-07-11 12:12:37 -07:00
2026-01-23 15:49:45 -08:00
2026-01-23 15:49:45 -08:00
2026-01-23 15:49:45 -08:00
2026-06-29 16:33:33 -04:00
2026-01-23 15:49:45 -08:00
2026-01-23 15:49:45 -08:00
2026-06-30 09:01:32 -04:00
2026-01-23 15:49:45 -08:00
2026-06-30 09:01:32 -04:00
2026-06-24 13:14:45 -07:00
2026-06-24 13:14:45 -07:00
2026-07-02 20:26:27 -07:00
2026-07-02 20:26:27 -07:00
2026-06-29 12:57:22 -07:00
2026-06-12 05:49:00 -05:00
2026-05-28 09:46:36 -07:00
2026-04-05 15:52:51 -07:00
2026-06-29 12:57:22 -07:00
2026-07-09 12:56:37 -07:00
2026-06-27 16:11:42 -07:00
2026-06-27 16:11:42 -07:00
2026-06-23 08:12:36 -07:00
2026-06-02 11:57:12 -07:00
2026-06-23 12:02:49 -07:00
2026-06-26 08:58:23 -04:00
2026-06-26 08:58:23 -04:00