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:
Jose Fernández
2024-11-07 18:11:11 +01:00
committed by GitHub
parent f27dc6b483
commit cdcfa99fb9
5 changed files with 26 additions and 2 deletions

View File

@@ -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