tailscale/ipn
Marwan Sulaiman 3421784e37 cmd/tailscale/cli: use optimistic concurrency control on SetServeConfig
This PR uses the etag/if-match pattern to ensure multiple calls
to SetServeConfig are synchronized. It currently errors out and
asks the user to retry but we can add occ retries as a follow up.

Updates #8489

Signed-off-by: Marwan Sulaiman <marwan@tailscale.com>
2023-09-13 15:08:41 -05:00
..
ipnauth all: update copyright and license headers 2023-01-27 15:36:29 -08:00
ipnlocal wgengine: remove DiscoKey method from Engine interface 2023-09-13 10:01:44 -07:00
ipnserver logpolicy, various: allow overriding log function 2023-07-10 18:08:50 -04:00
ipnstate ipn/ipnstate: address TODO about garbage during peer sorting 2023-09-09 09:12:23 -07:00
localapi ipn/ipnlocal: fix missing controlknobs.Knobs plumbing 2023-09-12 06:17:14 -07:00
policy ipn: prefer allow/denylist terminology 2023-04-04 08:02:50 -07:00
store cmd/k8s-operator,ipn/store/kubestore: patch secrets instead of updating 2023-08-29 13:24:05 -07:00
backend.go ipn, ipn/ipnlocal: add session identifier for WatchIPNBus 2023-09-05 13:30:04 -04:00
doc.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
fake_test.go all: update copyright and license headers 2023-01-27 15:36:29 -08:00
ipn_clone.go cmd/tailscale/cli: use optimistic concurrency control on SetServeConfig 2023-09-13 15:08:41 -05:00
ipn_view.go cmd/tailscale/cli: use optimistic concurrency control on SetServeConfig 2023-09-13 15:08:41 -05:00
prefs_test.go cmd/tailscale,ipn: add auto-update flags and prefs (#8861) 2023-09-01 13:45:12 -07:00
prefs.go cmd/tailscale,ipn: add auto-update flags and prefs (#8861) 2023-09-01 13:45:12 -07:00
serve_test.go tailscale/cli: add interactive flow for enabling Funnel 2023-08-09 18:55:43 -04:00
serve.go cmd/tailscale/cli: use optimistic concurrency control on SetServeConfig 2023-09-13 15:08:41 -05:00
store_test.go ipn: avoid useless no-op WriteState calls 2023-08-07 08:44:24 -07:00
store.go ipn: avoid useless no-op WriteState calls 2023-08-07 08:44:24 -07:00