tailscale/cmd
Maisem Ali be027a9899 control/controlclient: improve handling of concurrent lite map requests
This reverts commit 6eca47b16c and fixes forward.

Previously the first ever streaming MapRequest that a client sent would also
set ReadOnly to true as it didn't have any endpoints and expected/relied on the
map poll to restart as soon as it got endpoints. However with 48f6c1eba4,
we would no longer restart MapRequests as frequently as we used to, so control
would only ever get the first streaming MapRequest which had ReadOnly=true.

Control would treat this as an uninteresting request and would not send it
any further netmaps, while the client would happily stay in the map poll forever
while litemap updates happened in parallel.

This makes it so that we never set `ReadOnly=true` when we are doing a streaming
MapRequest. This is no longer necessary either as most endpoint discovery happens
over disco anyway.

Co-authored-by: Andrew Dunham <andrew@du.nham.ca>
Signed-off-by: Maisem Ali <maisem@tailscale.com>
2023-03-09 11:36:44 -08:00
..
addlicense all: update tools that manage copyright headers 2023-01-27 15:36:29 -08:00
cloner all: update tools that manage copyright headers 2023-01-27 15:36:29 -08:00
containerboot cmd/containerboot,kube: consolidate the two kube clients 2023-03-02 11:36:06 -08:00
derper all: use tstest.Replace more 2023-03-04 12:24:55 -08:00
derpprobe cmd/derpprobe: migrate to the prober framework 2023-01-31 10:47:42 +00:00
dist release/dist: add forgotten license headers 2023-02-24 22:21:28 +00:00
get-authkey get-authkey: require tags to be specified 2023-02-08 17:12:47 -08:00
gitops-pusher Add support for OAuth tokens #7394 (#7393) 2023-02-27 18:05:24 -08:00
hello all: update copyright and license headers 2023-01-27 15:36:29 -08:00
k8s-operator cmd/k8s-operator: update device authorization copy 2023-03-01 16:39:15 -05:00
mkmanifest cmd/mkmanifest, cmd/tailscale, cmd/tailscaled: remove Windows arm32 resources from OSS 2023-03-01 15:45:12 -07:00
mkpkg all: update copyright and license headers 2023-01-27 15:36:29 -08:00
mkversion version/mkversion: open-source version generation logic 2023-02-18 05:21:05 +00:00
nardump all: update copyright and license headers 2023-01-27 15:36:29 -08:00
netlogfmt all: replace logtail.{Public,Private}ID with logid.{Public,Private}ID (#7404) 2023-02-28 19:00:00 -08:00
nginx-auth cmd/nginx-auth: build for arm64 2023-02-25 17:16:31 -08:00
pgproxy all: update copyright and license headers 2023-01-27 15:36:29 -08:00
printdep cmd/printdep: print correct toolchain URL 2023-02-11 17:57:36 +00:00
proxy-to-grafana all: update copyright and license headers 2023-01-27 15:36:29 -08:00
sniproxy sniproxy: add promote-https (#7487) 2023-03-07 11:46:02 -05:00
speedtest all: update copyright and license headers 2023-01-27 15:36:29 -08:00
ssh-auth-none-demo all: update copyright and license headers 2023-01-27 15:36:29 -08:00
stunc all: update copyright and license headers 2023-01-27 15:36:29 -08:00
sync-containers cmd/sync-containers: update latest and stable tags 2023-02-10 20:47:18 -08:00
tailscale all: implement preauth-key support with tailnet lock 2023-03-08 11:56:46 -10:00
tailscaled control/controlclient: improve handling of concurrent lite map requests 2023-03-09 11:36:44 -08:00
testcontrol all: update copyright and license headers 2023-01-27 15:36:29 -08:00
testwrapper all: update copyright and license headers 2023-01-27 15:36:29 -08:00
tsconnect cmd/tsconnect: pop CTA to make everything work with tailnet lock 2023-03-06 10:07:20 -10:00
tsshd all: update copyright and license headers 2023-01-27 15:36:29 -08:00
viewer all: update tools that manage copyright headers 2023-01-27 15:36:29 -08:00