mirror of
https://github.com/postgresml/pgcat.git
synced 2026-03-23 01:16:30 +00:00
Do not unban replicas if a primary is available (#843)
Add `unban_replicas_when_all_banned` to control unbanning replicas behavior.
This commit is contained in:
10
CONFIG.md
10
CONFIG.md
@@ -130,6 +130,16 @@ default: 60 # seconds
|
||||
|
||||
How long to ban a server if it fails a health check (seconds).
|
||||
|
||||
### unban_replicas_when_all_banned
|
||||
```
|
||||
path: general.unban_replicas_when_all_banned
|
||||
default: true
|
||||
```
|
||||
|
||||
Whether or not we should unban all replicas when they are all banned. This is set
|
||||
to true by default to prevent disconnection when we have replicas with a false positive
|
||||
health check.
|
||||
|
||||
### log_client_connections
|
||||
```
|
||||
path: general.log_client_connections
|
||||
|
||||
Reference in New Issue
Block a user