mirror of
https://github.com/outbackdingo/patroni.git
synced 2026-08-25 14:53:37 +00:00
Make it possible to change Consul session checks (#543)
If list of checks is not specified, Consul will use "serfHealth" in addition to TTL based created by Patroni. There are some cases when people want to sacrifice fast detection of network partitioning in favor of ability to tolerate network lags. Fixes https://github.com/zalando/patroni/issues/522
This commit is contained in:
committed by
GitHub
parent
cfdda23e27
commit
8e9c62d002
@@ -58,6 +58,7 @@ Most of the parameters are optional, but you have to specify one of the **host**
|
||||
- **cacert**: (optional) The ca certificate. If pressent it will enable validation.
|
||||
- **cert**: (optional) file with the client certificate
|
||||
- **key**: (optional) file with the client key. Can be empty if the key is part of **cert**.
|
||||
- **checks**: (optional) list of Consul health checks used for the session. If not specified Consul will use "serfHealth" in additional to the TTL based check created by Patroni. Additional checks, in particular the "serfHealth", may cause the leader lock to expire faster than in `ttl` seconds when the leader instance becomes unavailable
|
||||
|
||||
Etcd
|
||||
----
|
||||
|
||||
Reference in New Issue
Block a user