myxce/src/controller
Rongsong Shen 2ed7e34e25 fix(config-repl): conf_save_config() must use workdir/name not workdir
load_primary_config() reads from workdir/name/conf — conf_save_config()
was writing to workdir/conf. Latent bug: would have corrupted upgrade
restart cycle once Task 11 wired the upgrade path.

Update all conf_read_current_filename, conf_get_saved_tag, and
conf_check_stale calls in the test suite to use the corrected
effective_dir (workdir/name) path structure. Add new test
test_conf_save_config_path_consistency that explicitly verifies the
written path matches what load_primary_config() reads.
2026-05-21 08:09:02 +00:00
..
include add kiro skills 2026-05-21 03:41:57 +00:00
testsuite fix(config-repl): conf_save_config() must use workdir/name not workdir 2026-05-21 08:09:02 +00:00
apiserver.c add kiro skills 2026-05-21 03:41:57 +00:00
CLAUDE.md Merge Go frontend (apiserver + xcecli) into meson build 2026-04-14 11:23:18 +08:00
cluster.c add kiro skills 2026-05-21 03:41:57 +00:00
config_repl.c fix(config-repl): conf_save_config() must use workdir/name not workdir 2026-05-21 08:09:02 +00:00
config_repl.h feat: filter lost_and_found sentinel from pushes; reset unavail host attrs 2026-05-14 08:44:55 +00:00
ctrl_metrics.c feat: P3-7 ctrl_metrics — 7 atomic counters/gauges + descriptor table + persist wiring 2026-05-08 00:04:06 +00:00
dataex.c fix(persist): zero nresvals_to_sched after free_name_val_list 2026-05-20 09:39:07 +00:00
ha.c fix(ha): zero ha_state_t before validation; fix invalid config in stale test 2026-05-20 08:53:38 +00:00
ha.h fix: resolve probe_ctx_t type tag, add DEFAULT_MAX_WAL_RECORDS macro, fix atomic type consistency, move ha_seed_jitter to ha.c, add API doc comments 2026-05-13 14:27:07 +00:00
job.c feat: implement job state, queue state, and worker recovery in WAL replay 2026-05-08 08:19:20 +00:00
join.c add kiro skills 2026-05-21 03:41:57 +00:00
main.c fix: validate --conf-keep-n >= 1 and --conf-stale-timeout >= 0 in argument parsing 2026-05-13 16:00:09 +00:00
meson.build add kiro skills 2026-05-21 03:41:57 +00:00
misc.c save works 2026-03-05 16:03:37 +08:00
myapp.c fix: capture am_i_primary() result once; set ha->role before phase2; cluster_init wrapper cleanup on failure 2026-05-13 17:32:32 +00:00
myconf.c feat: implement handle_config_request(), fetch_config_from_primary(), handle_controller_join() 2026-05-13 17:46:56 +00:00
opget.c fix(persist): zero nresvals_to_sched after free_name_val_list 2026-05-20 09:39:07 +00:00
opupd.c save works 2026-03-03 16:49:26 +08:00
persist.c add kiro skills 2026-05-21 03:41:57 +00:00
queue.c feat: implement job state, queue state, and worker recovery in WAL replay 2026-05-08 08:19:20 +00:00
repl.c feat: P2-5 repl_start/complete_catchup, repl_needs_snapshot — standby catch-up state 2026-05-07 18:14:12 +00:00
reply.c fix(persist): zero nresvals_to_sched after free_name_val_list 2026-05-20 09:39:07 +00:00
resources.c update controller code 2025-11-05 16:58:57 +08:00
sched.c add kiro skills 2026-05-21 03:41:57 +00:00
task.c save works 2026-03-04 18:18:53 +08:00
worker.c feat(worker-join-refactor): implement apply_join_state, init_worker, rejoin_worker 2026-05-20 08:24:26 +00:00