dbffe22465
Nomad reconciles services it expects to be registered in Consul with what is actually registered in the local Consul agent. This is necessary to prevent leaking service registrations if Nomad crashes at certain points (or if there are bugs). When Consul has namespaces enabled, we must iterate over each available namespace to be sure no services were leaked into non-default namespaces. Since this reconciliation happens often, there's no need to require results from the Consul leader server. In large clusters this creates far more load than the "freshness" of the response is worth. Therefore this patch switches the request to AllowStale=true |
||
---|---|---|
.. | ||
acl_testing.go | ||
catalog_testing.go | ||
check_watcher.go | ||
check_watcher_test.go | ||
config_entries_testing.go | ||
connect.go | ||
connect_proxies.go | ||
connect_proxies_test.go | ||
connect_proxies_testing.go | ||
connect_test.go | ||
group_test.go | ||
int_test.go | ||
namespaces_client.go | ||
namespaces_client_test.go | ||
self.go | ||
self_test.go | ||
service_client.go | ||
service_client_test.go | ||
structs.go | ||
testing.go | ||
unit_test.go | ||
version_checker.go | ||
version_checker_test.go |