feat(ha-repl-hardening): add observability log statements (task 5.4)

- config_repl.c: INFO at WAL catch-up start with start/target LSN (Req 7.1)
- config_repl.c: INFO at snapshot transfer start and complete with
  checkpoint_lsn and size (Req 7.3)
- ha.c committing_timeout_fn_for_test: add WARN log counting
  n_converged/n_pending before promotion, matching production path (Req 7.5)
- Reqs 7.2 (standby converged INFO) and 7.4 (majority INFO) were
  already present from tasks 3.1 and 5.2 respectively
This commit is contained in:
Rongsong Shen 2026-06-05 05:36:27 +00:00
parent 0762577bf7
commit 5defe7cc01
3 changed files with 36 additions and 3 deletions

View file

@ -193,7 +193,7 @@
- _Requirements: 6.4_
- _Boundary: Controller FSM (ha.c)_
- [ ] 5.4 Add observability log statements
- [x] 5.4 Add observability log statements
- WAL catch-up start: INFO with start/target LSN — covered by unit test in task 6.2
- Standby converged: INFO with identity, config_tag, applied_lsn — covered by unit test in task 6.1
- Snapshot transfer start/complete: INFO with checkpoint_lsn, size — covered by unit test in task 6.4