diff --git a/.kiro/specs/clusterconfig-schema-split/tasks.md b/.kiro/specs/clusterconfig-schema-split/tasks.md index 7651776..d96e74d 100644 --- a/.kiro/specs/clusterconfig-schema-split/tasks.md +++ b/.kiro/specs/clusterconfig-schema-split/tasks.md @@ -18,7 +18,7 @@ - _Depends: 1.1_ - _Boundary: C Struct Component_ -- [ ] 1.3 Remove the orphaned `HashZArrayConfig`/`ResmgrConfig` capnp structs +- [x] 1.3 Remove the orphaned `HashZArrayConfig`/`ResmgrConfig` capnp structs - Discovered during task 2.1's partial compile check: these structs (used only by the fields task 1.1 already removed) were deliberately left in `controller.capnp`, but task 1.2 removed their corresponding hand-written C typedefs (`hash_zarray_config_t`, `resmgr_config_t`) — the capnp-generated bindings still reference those now-nonexistent types via `$C.mapname(...)`, breaking compilation - Remove the `HashZArrayConfig` and `ResmgrConfig` struct definitions entirely from `controller.capnp` (grep-verify first that neither is referenced anywhere else in the schema, same method used for `MasterCandidate` in task 1.1) - Regenerate the capnp C bindings diff --git a/src/schema/controller.capnp b/src/schema/controller.capnp index dc213f1..0e0a39b 100644 --- a/src/schema/controller.capnp +++ b/src/schema/controller.capnp @@ -660,17 +660,6 @@ struct Request $C.mapname("xce_request_t"){ } } -struct HashZArrayConfig $C.mapname("hash_zarray_config_t") { - nHashSlots @0: UInt32 $C.mapname("nhash_slots"); - delta @1: UInt32 $C.mapname("delta"); -} - -struct ResmgrConfig $C.mapname("resmgr_config_t") { - nHashSlots @0: UInt32 $C.mapname("nhash_slots"); - delta @1: UInt32 $C.mapname("delta"); - instDelta @2: UInt32 $C.mapname("inst_delta"); -} - struct HostConfig $C.mapname("xce_hostconfig_t") { name @0: Text $C.mapname("name"); model @1: Text $C.mapname("hostmodel");