open-nomad/command/agent/consul
Seth Hoenig b19bc6be2b consul: prevent re-registration churn by correctly comparing sidecar tags
Previously, connect sidecars would be re-registered with consul every cycle
of Nomad's reconciliation loop around Consul service registrations. This is
because part of the comparison used `reflect.DeepEqual` on []string objects,
which returns false when one object is `[]string{}` and the other is `[]string{}(nil)`.

Unforunately, this was always the case, and every Connect sidecar service
would be re-registered on every iteration, which happens every 30 seconds.
2020-11-11 18:01:17 -06:00
..
acl_testing.go comments: cleanup some leftover debug comments and such 2020-01-31 19:04:35 -06:00
catalog_testing.go consul/connect: dynamically select envoy sidecar at runtime 2020-10-13 09:14:12 -05:00
check_watcher.go client: improve group service stanza interpolation and check_re… (#6586) 2019-11-18 13:04:01 -05:00
check_watcher_test.go consul: add test for check watcher deadlock 2019-07-18 08:24:09 -07: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: remove envoy dns option from gateway proxy config 2020-08-24 09:11:55 -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/connect: dynamically select envoy sidecar at runtime 2020-10-13 09:14:12 -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: remove envoy dns option from gateway proxy config 2020-08-24 09:11:55 -05:00
group_test.go consul/connect: fixup tests to use new consul sdk 2020-08-24 12:02:41 -05:00
int_test.go consul/connect: fixup tests to use new consul sdk 2020-08-24 12:02:41 -05:00
service_client.go consul: prevent re-registration churn by correctly comparing sidecar tags 2020-11-11 18:01:17 -06:00
service_client_test.go consul: prevent re-registration churn by correctly comparing sidecar tags 2020-11-11 18:01:17 -06:00
structs.go Consul with CNI and host_network addresses (#9095) 2020-10-15 15:32:21 -04: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 with CNI and host_network addresses (#9095) 2020-10-15 15:32:21 -04:00
version_checker.go
version_checker_test.go