feat(ha-repl-hardening): committing timeout 60s degraded-mode safety net (task 5.3)
- Change HA_DEFAULT_COMMITTING_TIMEOUT_MS from 10000 to 60000 - committing_timeout_fn: count converged/pending standbys from standby_converged[], log WARN with counts, then promote (degraded mode) - Replace hardcoded 10000 in test_ha_evaluate_committing.c with macro - Three new tests: default=60000, degrade-promote with 1/2 and 0/2 converged
This commit is contained in:
parent
534bfd68fe
commit
0762577bf7
5 changed files with 160 additions and 9 deletions
|
|
@ -185,7 +185,7 @@
|
|||
- _Boundary: Controller FSM (ha.c)_
|
||||
- _Depends: 3.1_
|
||||
|
||||
- [ ] 5.3 Extend committing timeout to degraded-mode safety net
|
||||
- [x] 5.3 Extend committing timeout to degraded-mode safety net
|
||||
- Change `committing_timeout_ms` default from `10000` to `60000`
|
||||
- Timeout handler logs WARN with per-standby convergence state, promotes in degraded mode
|
||||
- Majority-convergence path (task 5.2) is the PRIMARY promotion mechanism; timeout is the fallback
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue