feat(ha-commit-engine): per-LSN majority commit engine core (task 1.2)
commit_on_ack: active-standby (non-catch-up, connected) watermark scan, descending sort, candidate arr[n_peers/2-1], clamped to appended log, monotonic single-site committed_lsn store, condvar broadcast, never blocks beyond engine mutex. RETAIN returns immediately. Self-quorum for n_peers<=1; zero-fill makes zero-standby commit impossible. 7/7 task-1.1 tests green unmodified; full suite at known 3-failure baseline.
This commit is contained in:
parent
d5a0f9c64d
commit
eae4767d7d
4 changed files with 203 additions and 23 deletions
|
|
@ -870,3 +870,6 @@
|
|||
| 13:30 | Task 1.1 ha-commit-engine RED: commit.h + stub commit.c + test_commit_engine.c (7 failing tests) | src/controller/{include/commit.h,commit.c,testsuite/test_commit_engine.c,meson.build,testsuite/controller_test.c} | 7/7 RED for right reasons; 3 suite failures proven pre-existing via baseline stash run | ~60k |
|
||||
| 07:16 | Edited .kiro/specs/ha-commit-engine/tasks.md | inline fix | ~23 |
|
||||
| 07:16 | Edited .kiro/specs/ha-commit-engine/tasks.md | modified now() | ~344 |
|
||||
| 07:22 | Created src/controller/commit.c | — | ~2108 |
|
||||
| 2026-06-11 | ha-commit-engine task 1.2: implemented commit engine core (majority median, monotonic clamped committed_lsn, RETAIN) — 7/7 tests green | src/controller/commit.c | success | ~9k |
|
||||
| 07:36 | Edited .kiro/specs/ha-commit-engine/tasks.md | inline fix | ~14 |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue