test(ha-commit-barrier-rollout): fact-retention-across-quorum-loss proof (task 4.3)
Green integration proof: 4 facts driven during total quorum loss append RETAIN with rc 0 in <1000ms (vs 5000ms timeout — wrongly-applied WAIT tripwire), pending with retained-depth=4 logged, present exactly once on disk (real WAL header scan); reconnect + one covering ACK commits the suffix with current_lsn unchanged (no redelivery). Completes the bug-396 fix evidence (umbrella Req 2.8). Census 495/495.
This commit is contained in:
parent
4fafeadbbc
commit
732e836868
6 changed files with 594 additions and 312 deletions
|
|
@ -957,3 +957,8 @@
|
|||
| 07:14 | Edited src/controller/ha.c | expanded (+10 lines) | ~205 |
|
||||
| 14:35 | task 4.2 validated: gate switch admits notify/update/setpreason/clrpreason; build OK; 21/21 rollout, 494 census ZERO FAIL | src/controller/ha.c | success | ~3k |
|
||||
| 07:50 | Edited .kiro/specs/ha-commit-barrier-rollout/tasks.md | inline fix | ~12 |
|
||||
| 08:02 | Edited src/controller/testsuite/test_commit_barrier_reply.c | 5→6 lines | ~43 |
|
||||
| 08:03 | Edited src/controller/testsuite/test_commit_barrier_reply.c | added 3 condition(s) | ~3291 |
|
||||
| 08:03 | Edited src/controller/testsuite/test_commit_barrier_reply.c | 2→5 lines | ~72 |
|
||||
| 15:15 | Task 4.3 ha-commit-barrier-rollout: fact-retention-across-quorum-loss integration test (GREEN on landing) — quorum lost via repl_remove_standby x2, 4 worker facts via on_job_start/on_job_finish (cluster.c/do_notify not in test link), RETAIN pending + on-disk exactly-once scan, reconnect + covering ACK advances committed_lsn, no re-delivery, retained-depth=4 printed | src/controller/testsuite/test_commit_barrier_reply.c | census 495 distinct Unity PASS (494+1), ZERO FAIL | ~55k |
|
||||
| 08:29 | Edited .kiro/specs/ha-commit-barrier-rollout/tasks.md | inline fix | ~30 |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue