feat(ha-commit-barrier-rollout): persist_commit_barrier + legacy walAck retirement (task 2.2)
Barrier: watermark = current_lsn - 1 under p->lock (released before blocking), covered/nothing-appended/LSN-0 short-circuits, sync_timeout_ms fallback, engine code unmodified, ce==NULL vacuous. repl.c walAck track now engine-only (legacy acked_lsn>0 counting and walAck-reachable n_active==0 success deleted); configAck track byte-equivalent for task 5. 15/15 group; census 472/472.
This commit is contained in:
parent
611fbc8d7b
commit
8f688eace1
5 changed files with 106 additions and 54 deletions
|
|
@ -994,3 +994,12 @@
|
|||
| 05:05 | ha-commit-barrier-rollout task 2.1: RED tests for persist_commit_barrier (7 cases) + decl + inert -ENOSYS stub | test_commit_barrier_rollout.c, persist.h, persist.c | 7 FAIL (RED) on -38 sentinel, prior 8 PASS, suite census clean | ~60k |
|
||||
| 22:08 | Edited .kiro/specs/ha-commit-barrier-rollout/tasks.md | inline fix | ~17 |
|
||||
| 22:08 | Edited .kiro/specs/ha-commit-barrier-rollout/tasks.md | modified RESOLVED() | ~256 |
|
||||
| 22:14 | Edited src/controller/persist.c | added 4 condition(s) | ~640 |
|
||||
| 22:15 | Edited src/controller/repl.c | added 1 condition(s) | ~657 |
|
||||
| 22:15 | Edited src/controller/repl.c | modified if() | ~180 |
|
||||
| 22:16 | Edited src/controller/persist.c | modified if() | ~342 |
|
||||
| 22:20 | Edited src/controller/repl.c | 5→5 lines | ~96 |
|
||||
| 05:25 | barrier-rollout 2.2: persist_commit_barrier implemented (watermark=current_lsn-1, covered short-circuit, ce==NULL→0, timeout fallback) + legacy walAck counting removed from repl_wait_majority_ack (LSN-0→0, unconditional commit_submit; configAck track untouched) | src/controller/persist.c, src/controller/repl.c | 15/15 group, 472 Unity / 0 FAIL | ~35k |
|
||||
| 05:45 | Adversarial review ha-commit-barrier-rollout task 2.2 (barrier helper + walAck retirement): boundary clean (persist.c+repl.c only), 15/15 group, full census 472 Unity PASS / 0 FAIL (= 465 prior + 7 new), configAck byte-equivalent, LSN-0 absorption commented, ce==NULL asymmetry judged defensible — APPROVED | src/controller/persist.c, src/controller/repl.c | APPROVED | ~30k |
|
||||
| 22:36 | Edited .kiro/specs/ha-commit-barrier-rollout/tasks.md | inline fix | ~21 |
|
||||
| 22:36 | Edited .kiro/specs/ha-commit-barrier-rollout/tasks.md | modified RESOLVED() | ~148 |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue