Dns: respecting DNS TTL (#18408)
Changes the DNS cache to respect the advertised TTL, modulo a floor of 5s. That part of the change is runtime guard. The part which is not, is that the backoff is done on a per-host basis not a global basis, so if one endpoint fails to resolve, it won't result in others backing off, and if one succeeds it won't result in changing backoff for failed hosts. Risk Level: Medium Testing: new unit tests Docs Changes: inline Release Notes: inline Optional Runtime guard: envoy.reloadable_features.use_dns_ttl Signed-off-by: Alyssa Wilk <alyssar@chromium.org> Mirrored from https://github.com/envoyproxy/envoy @ bebd3e2c4700fb13132a34fcfa8b82b439249f3bpull/626/head
parent
3bd32ef21b
commit
dbd252a1f3
1 changed files with 4 additions and 8 deletions
Loading…
Reference in new issue