open-nomad/command/agent/consul
Seth Hoenig 56a6a1b1df consul: avoid extra sync operations when no action required
This PR makes it so the Consul sync logic will ignore operations that
do not specify an action to take (i.e. [de-]register [services|checks]).

Ideally such noops would be discarded at the callsites (i.e. users
of [Create|Update|Remove]Workload], but we can also be defensive
at the commit point.

Also adds 2 trace logging statements which are helpful for diagnosing
sync operations with Consul - when they happen and why.

Fixes #10797
2021-07-07 11:24:56 -05:00
..
acl_testing.go consul: move consul acl tests into ent files 2021-06-09 08:38:42 -05:00
catalog_testing.go consul: probe consul namespace feature before using namespace api 2021-06-07 12:19:25 -05:00
check_watcher.go consul: minor CR cleanup 2021-04-05 10:10:16 -06:00
check_watcher_test.go consul: probe consul namespace feature before using namespace api 2021-06-07 12:19:25 -05:00
config_entries_testing.go consul/connect: add initial support for ingress gateways 2020-08-21 16:21:54 -05:00
connect.go consul/connect: add support for connect mesh gateways 2021-06-04 08:24:49 -05:00
connect_proxies.go consul/connect: dynamically select envoy sidecar at runtime 2020-10-13 09:14:12 -05:00
connect_proxies_test.go consul: probe consul namespace feature before using namespace api 2021-06-07 12:19:25 -05:00
connect_proxies_testing.go consul/connect: dynamically select envoy sidecar at runtime 2020-10-13 09:14:12 -05:00
connect_test.go consul/connect: add support for connect mesh gateways 2021-06-04 08:24:49 -05:00
group_test.go tests: remove duplicate import statements. 2021-06-11 09:39:22 +02:00
int_test.go consul: probe consul namespace feature before using namespace api 2021-06-07 12:19:25 -05:00
namespaces_client.go consul: pr cleanup namespace probe function signatures 2021-06-07 15:41:01 -05:00
namespaces_client_test.go consul: probe consul namespace feature before using namespace api 2021-06-07 12:19:25 -05:00
self.go consul: pr cleanup namespace probe function signatures 2021-06-07 15:41:01 -05:00
self_test.go consul: pr cleanup namespace probe function signatures 2021-06-07 15:41:01 -05:00
service_client.go consul: avoid extra sync operations when no action required 2021-07-07 11:24:56 -05:00
service_client_test.go consul: avoid extra sync operations when no action required 2021-07-07 11:24:56 -05:00
structs.go consul: plubming for specifying consul namespace in job/group 2021-04-05 10:03:19 -06:00
testing.go client: improve group service stanza interpolation and check_re… (#6586) 2019-11-18 13:04:01 -05:00
unit_test.go consul: probe consul namespace feature before using namespace api 2021-06-07 12:19:25 -05:00
version_checker.go agent + consul 2018-09-13 10:43:40 -07:00
version_checker_test.go