| Parameter | Value | Description |
|---|---|---|
| external-check command | <check-script> | external script used to perform check |
| inter | 1s | Frequency of performing checks |
| rise | 7 | Haproxy will mark a node up after 7 consecutive check pass |
| fall | 3 | Haproxy will mark a node down after 3 consecutive check fail |
| Parameter | Value | Description |
|---|---|---|
| min_slaves_to_write | 1 | Redis will stop accepting writes if `min-slaves-to-write` number of |
| min-slaves-max-lag | 10 | slaves are lagging by `min-slaves-max-lag` seconds. |
| Parameter | Value | Description |
|---|---|---|
| down-after-milliseconds | 5000 | Mark objectively down if server is seen down |
| min-quorum | 2 | Redis will mark a server subjectively down if min-quorum sentinel services notice it down |
| failover-timeout | 180000 | No new failover will trigger be triggered before failover timeout |
| parallel_syncs | 1 | Number of redis salves can parallelly sync |