myxce/.kiro/specs
Rongsong Shen 534bfd68fe feat(ha-repl-hardening): majority-convergence → CTRL_PRIMARY transition (task 5.2)
- Add ha_check_majority_convergence() in ha.c: counts standby_converged[],
  promotes CTRL_PRIMARY_COMMITTING → CTRL_PRIMARY when all standbys converge
- Threshold: n_peers (all standbys) per spec test cases; single-node satisfies immediately
- Called from repl_ack_decode_and_dispatch() before replication dispatch
- Logs INFO "majority converged (N/M standbys) → CTRL_PRIMARY" (Req 7.4)
- Three unit tests: 1/2 converged → stays COMMITTING; 2/2 → PRIMARY; single-node → immediate
- Fix ha.h comment: clarify double-promotion prevention via vtask context, not CAS
2026-06-05 04:42:53 +00:00
..
election-iomgr-refactor chore: checkpoint all prior work for clean state 2026-06-04 13:04:16 +00:00
ha-config-bootstrap chore: checkpoint all prior work for clean state 2026-06-04 13:04:16 +00:00
ha-heartbeat-liveness chore: checkpoint all prior work for clean state 2026-06-04 13:04:16 +00:00
ha-peer-connection-reuse chore: checkpoint all prior work for clean state 2026-06-04 13:04:16 +00:00
ha-repl-hardening feat(ha-repl-hardening): majority-convergence → CTRL_PRIMARY transition (task 5.2) 2026-06-05 04:42:53 +00:00
raft-library chore: checkpoint all prior work for clean state 2026-06-04 13:04:16 +00:00
resval-id-decoupling add kiro-sdd documents 2026-05-13 10:58:51 +00:00
scheduler-controller-msg-gap add kiro-sdd documents 2026-05-13 10:58:51 +00:00
worker-join-refactor add kiro skills 2026-05-21 03:41:57 +00:00