feat: add config_repl Phase 1 — HEAD-file storage, SHA-256, trim, stale check, sanitise_cn
- config_repl.h/.c: atomic versioned file save, pointer file, trim, stale check - test_config_repl.c: 17 Unity tests covering all Phase 1 storage functions - typemap.h: add repl/heartbeat types + union members for xce_request_t/xce_reply_t - clusterconfig.h: add config_generation field to cluster_config_t (capnp schema ref) - meson.build: add config_repl.c and test_config_repl.c to build targets - controller_test.c: register test_config_repl dispatch function
This commit is contained in:
parent
1c4a103a66
commit
491c2550c2
7 changed files with 926 additions and 7 deletions
|
|
@ -31,6 +31,7 @@ extern void test_p2_integration(void);
|
|||
extern void test_p3_hardening(void);
|
||||
extern void test_p3_manual_failover(void);
|
||||
extern void test_ctrl_metrics(void);
|
||||
extern void test_config_repl(void);
|
||||
|
||||
void setUp(void) { return; }
|
||||
|
||||
|
|
@ -131,6 +132,7 @@ int main(int argc, char* argv[])
|
|||
TEST(test_p3_hardening);
|
||||
TEST(test_p3_manual_failover);
|
||||
TEST(test_ctrl_metrics);
|
||||
TEST(test_config_repl);
|
||||
|
||||
return UNITY_END();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue