finalize configuration replication
This commit is contained in:
parent
e1517bbf28
commit
fa66d1ba9c
30 changed files with 8867 additions and 1560 deletions
|
|
@ -71,6 +71,19 @@ No new code needed for either spec.
|
|||
- **Recommendation**: Run the 5 integration tests from `manual-tests.md`
|
||||
against a 3-node cluster, then mark the spec `implemented`.
|
||||
|
||||
---
|
||||
|
||||
# Cross-Spec Gap Audit (2026-06-08)
|
||||
|
||||
> Batch `/kiro-validate-gap` across 9 specs on persistent_ha branch.
|
||||
|
||||
## Analysis Summary
|
||||
|
||||
- **ha-config-bootstrap** is **~95% complete**. All 10 requirements have verified implementation assets. All 22 leaf subtasks (1.1–10.2) are done.
|
||||
- **Remaining work**: Tasks 11.1–11.5 (manual integration tests documented in `manual-tests.md`).
|
||||
- **Cross-spec verification**: `election-iomgr-refactor` superseded the blocking-pthread election path while preserving all ha-config-bootstrap requirements. The two specs are consistent. `ha-repl-hardening` extends Req 5 (majority-commit WAL) and Req 8 (majority-commit config) with heartbeat-driven convergence — no conflicts.
|
||||
- **Cleanup debt**: `am_i_primary()` (ha.c:869), `ha_wait_for_heartbeat_or_timeout`, and `start_heartbeat_listener()`/`stop_heartbeat_listener()` stubs are dead code — safe to delete in a dedicated cleanup commit (tracked in election-iomgr-refactor/research.md).
|
||||
|
||||
## Requirement-to-Asset Map — Final State
|
||||
|
||||
| Requirement | Verified Key Assets | Status |
|
||||
|
|
@ -446,7 +459,7 @@ Add all new stubs with `-ENOSYS` first, then wire each one. Matches the existing
|
|||
|
||||
### Gap 1: Task 11.1 — Concurrent startup and config-fresh election
|
||||
- **What's needed**: 3-node cluster starts simultaneously; verify only one elects primary; config-fresh node wins.
|
||||
- **How to run**: See `manual-tests.md` — Test 1 (3-node clean start, verify ctrl-a primary).
|
||||
- **How to run**: See `manual-tests.md` — Test 1 (3-node clean start, verify ctrl-1 primary).
|
||||
- **Infrastructure**: `deploy-ha.sh` + `start.sh` scripts; log grep for `CTRL_PRIMARY`.
|
||||
- **Effort**: ~30 min.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue