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 <sjinxuan@microsoft.com>

Mirrored from https://github.com/envoyproxy/envoy @ b422688bbe00890cab1db4ddd3f12760974ed287
main
update-envoy[bot] 2 weeks ago
parent 577c29c67b
commit 0bc95493c5
  1. 2
      envoy/config/cluster/v3/cluster.proto

@ -965,7 +965,7 @@ message Cluster {
// :ref:`STRICT_DNS<envoy_v3_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.STRICT_DNS>` // :ref:`STRICT_DNS<envoy_v3_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.STRICT_DNS>`
// and :ref:`LOGICAL_DNS<envoy_v3_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.LOGICAL_DNS>` // and :ref:`LOGICAL_DNS<envoy_v3_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.LOGICAL_DNS>`
// this setting is ignored. // 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 // If the DNS failure refresh rate is specified and the cluster type is either
// :ref:`STRICT_DNS<envoy_v3_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.STRICT_DNS>`, // :ref:`STRICT_DNS<envoy_v3_api_enum_value_config.cluster.v3.Cluster.DiscoveryType.STRICT_DNS>`,

Loading…
Cancel
Save