Redis cluster discovery on unhealthy (#9327)

Signed-off-by: Henry Yang <hyang@lyft.com>

Mirrored from https://github.com/envoyproxy/envoy @ 3d252f837b17a00406537514614022134d480b0d
master-ci-test
data-plane-api(CircleCI) 5 years ago
parent 934f90ba2f
commit 39f80fa6ec
  1. 13
      envoy/config/cluster/redis/redis_cluster.proto

@ -50,6 +50,7 @@ import "validate/validate.proto";
// redirect_refresh_threshold: 10
// [#extension: envoy.clusters.redis]
// [#next-free-field: 7]
message RedisClusterConfig {
// Interval between successive topology refresh requests. If not set, this defaults to 5s.
google.protobuf.Duration cluster_refresh_rate = 1 [(validate.rules).duration = {gt {}}];
@ -58,11 +59,21 @@ message RedisClusterConfig {
google.protobuf.Duration cluster_refresh_timeout = 2 [(validate.rules).duration = {gt {}}];
// The minimum interval that must pass after triggering a topology refresh request before a new
// request can possibly be triggered again. Any redirection errors received during one of these
// request can possibly be triggered again. Any errors received during one of these
// time intervals are ignored. If not set, this defaults to 5s.
google.protobuf.Duration redirect_refresh_interval = 3;
// The number of redirection errors that must be received before
// triggering a topology refresh request. If not set, this defaults to 5.
// If this is set to 0, topology refresh after redirect is disabled.
google.protobuf.UInt32Value redirect_refresh_threshold = 4;
// The number of failures that must be received before triggering a topology refresh request.
// If not set, this defaults to 0, which disables the topology refresh due to failure.
uint32 failure_refresh_threshold = 5;
// The number of hosts became degraded or unhealthy before triggering a topology refresh request.
// If not set, this defaults to 0, which disables the topology refresh due to degraded or
// unhealthy host.
uint32 host_degraded_refresh_threshold = 6;
}

Loading…
Cancel
Save