|
|
@ -50,6 +50,7 @@ import "validate/validate.proto"; |
|
|
|
// redirect_refresh_threshold: 10 |
|
|
|
// redirect_refresh_threshold: 10 |
|
|
|
// [#extension: envoy.clusters.redis] |
|
|
|
// [#extension: envoy.clusters.redis] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// [#next-free-field: 7] |
|
|
|
message RedisClusterConfig { |
|
|
|
message RedisClusterConfig { |
|
|
|
// Interval between successive topology refresh requests. If not set, this defaults to 5s. |
|
|
|
// Interval between successive topology refresh requests. If not set, this defaults to 5s. |
|
|
|
google.protobuf.Duration cluster_refresh_rate = 1 [(validate.rules).duration = {gt {}}]; |
|
|
|
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 {}}]; |
|
|
|
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 |
|
|
|
// 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. |
|
|
|
// time intervals are ignored. If not set, this defaults to 5s. |
|
|
|
google.protobuf.Duration redirect_refresh_interval = 3; |
|
|
|
google.protobuf.Duration redirect_refresh_interval = 3; |
|
|
|
|
|
|
|
|
|
|
|
// The number of redirection errors that must be received before |
|
|
|
// The number of redirection errors that must be received before |
|
|
|
// triggering a topology refresh request. If not set, this defaults to 5. |
|
|
|
// 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; |
|
|
|
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; |
|
|
|
} |
|
|
|
} |
|
|
|