diff options
| author | Michael Klishin <michael@clojurewerkz.org> | 2020-03-16 13:47:39 +0300 |
|---|---|---|
| committer | Michael Klishin <michael@clojurewerkz.org> | 2020-03-16 13:47:39 +0300 |
| commit | ffc477d45d8611b1976d61ea466f037d03af1cdf (patch) | |
| tree | 58a5c49366a6b36f08970d133ad5a654e1352c3f /priv/schema | |
| parent | 8e307888054028ce5a6c37f457dd2634f0dd2968 (diff) | |
| download | rabbitmq-server-git-ffc477d45d8611b1976d61ea466f037d03af1cdf.tar.gz | |
Retry on [some] peer discovery failures
When the backend returns an error, we retry.
If we fail to join discovered peers, we also retry.
Schema table sync retries are already in place so nothing
to change there.
Closes #1627.
Pair: @dumbbell.
Diffstat (limited to 'priv/schema')
| -rw-r--r-- | priv/schema/rabbit.schema | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/priv/schema/rabbit.schema b/priv/schema/rabbit.schema index 1220b0dd05..7fed1372cf 100644 --- a/priv/schema/rabbit.schema +++ b/priv/schema/rabbit.schema @@ -952,6 +952,30 @@ fun(Conf) -> end end}. +%% Cluster formation: discovery failure retries + +{mapping, "cluster_formation.lock_retry_limit", "rabbit.cluster_formation.lock_retry_limit", + [ + {datatype, integer}, + {validators, ["non_zero_positive_integer"]} + ]}. +{mapping, "cluster_formation.lock_retry_timeout", "rabbit.cluster_formation.lock_retry_timeout", + [ + {datatype, integer}, + {validators, ["non_zero_positive_integer"]} + ]}. + +{mapping, "cluster_formation.discovery_retry_limit", "rabbit.cluster_formation.discovery_retry_limit", + [ + {datatype, integer}, + {validators, ["non_zero_positive_integer"]} + ]}. +{mapping, "cluster_formation.discovery_retry_interval", "rabbit.cluster_formation.discovery_retry_interval", + [ + {datatype, integer}, + {validators, ["non_zero_positive_integer"]} + ]}. + %% Classic config-driven peer discovery backend. %% %% Make clustering happen *automatically* at startup - only applied |
