From 0bc95493c5e88b7b07e62758d23b39341813a827 Mon Sep 17 00:00:00 2001 From: "update-envoy[bot]" <135279899+update-envoy[bot]@users.noreply.github.com> Date: Wed, 13 Nov 2024 00:36:18 +0000 Subject: [PATCH] Fix a bug where DNS jitter can cause milliseconds duration to be interpreted as negative triggering envoy bug. (#36953) Signed-off-by: Steven Jin Xuan Mirrored from https://github.com/envoyproxy/envoy @ b422688bbe00890cab1db4ddd3f12760974ed287 --- envoy/config/cluster/v3/cluster.proto | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/envoy/config/cluster/v3/cluster.proto b/envoy/config/cluster/v3/cluster.proto index 0d2d6f19..079a1e49 100644 --- a/envoy/config/cluster/v3/cluster.proto +++ b/envoy/config/cluster/v3/cluster.proto @@ -965,7 +965,7 @@ message Cluster { // :ref:`STRICT_DNS` // and :ref:`LOGICAL_DNS` // this setting is ignored. - google.protobuf.Duration dns_jitter = 58; + google.protobuf.Duration dns_jitter = 58 [(validate.rules).duration = {gte {}}]; // If the DNS failure refresh rate is specified and the cluster type is either // :ref:`STRICT_DNS`,