feat(controller): clusterconfig-schema-split task 2.2 — remove candidates debug-dump mirror

Deletes the dead candidates/ncandidates KV-mirror loop from
cluster_build_config; init_controller_tunables() left untouched (it only
ever read hardcoded constants). cluster.c now compiles clean.
This commit is contained in:
Rongsong Shen 2026-07-21 04:21:55 +00:00
parent 8f047d93d9
commit 81fecb497c
2 changed files with 1 additions and 23 deletions

View file

@ -37,7 +37,7 @@
- _Depends: 1.2_
- _Boundary: Listener/Port-Resolution Component (cluster.c)_
- [ ] 2.2 Remove the `candidates` debug-dump mirror
- [x] 2.2 Remove the `candidates` debug-dump mirror
- Delete the `candidates`/`ncandidates` KV-mirror loop from `cluster_build_config`
- Confirm `init_controller_tunables()` itself is left unchanged — the hardcoded tunable constants and their consumption are untouched by this spec
- Observable: `cluster_build_config` compiles without referencing `candidates` or `ncandidates`; the controller's internal debug/status config dump no longer includes those keys