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/ipn
Brad Fitzpatrick c56e94af2d ipn: avoid useless no-op WriteState calls
Rather than make each ipn.StateStore implementation guard against
useless writes (a write of the same value that's already in the
store), do writes via a new wrapper that has a fast path for the
unchanged case.

This then fixes profileManager's flood of useless writes to AWS SSM,
etc.

Updates #8785

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
1 year ago
..
ipnauth all: update copyright and license headers 2 years ago
ipnlocal ipn: avoid useless no-op WriteState calls 1 year ago
ipnserver logpolicy, various: allow overriding log function 1 year ago
ipnstate cli: introduce exit-node subcommand to list and filter exit nodes 1 year ago
localapi go.mod, cmd/tailscaled, ipn/localapi, util/osdiag, util/winutil, util/winutil/authenticode: add Windows module list to OS-specific logs that are written upon bugreport 1 year ago
policy ipn: prefer allow/denylist terminology 2 years ago
store ipn/store/awsstore: persist state with intelligent tiering 2 years ago
backend.go all: update copyright and license headers 2 years ago
doc.go all: update copyright and license headers 2 years ago
fake_test.go all: update copyright and license headers 2 years ago
ipn_clone.go {cmd/tailscale/cli,ipn}: add http support to tailscale serve (#8358) 1 year ago
ipn_view.go {cmd/tailscale/cli,ipn}: add http support to tailscale serve (#8358) 1 year ago
prefs.go all: update copyright and license headers 2 years ago
prefs_test.go all: update copyright and license headers 2 years ago
serve.go {cmd/tailscale/cli,ipn}: add http support to tailscale serve (#8358) 1 year ago
serve_test.go ipn: add Funnel port check from nodeAttr 2 years ago
store.go ipn: avoid useless no-op WriteState calls 1 year ago
store_test.go ipn: avoid useless no-op WriteState calls 1 year ago