forked from lei.chen/myxce
feat(controller): clusterconfig-schema-split task 1.3 — remove orphaned HashZArrayConfig/ResmgrConfig structs
These capnp structs were used only by the jobmgr/workermgr/qmgr/xstrings and resmgr fields already removed in task 1.1, and were deliberately left in place at the time since nothing required their removal. Task 1.2 then deleted their corresponding hand-written C typedefs, breaking the capnp-generated bindings' $C.mapname references. Closes that gap (new Requirement 2.5).
This commit is contained in:
parent
1229f9a945
commit
8f047d93d9
2 changed files with 1 additions and 12 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue