myxce/src
Rongsong Shen b2faf41703 refactor(controller): move manager init to cluster_init_phase1
Extract cluster_init_managers() which initializes configmgr, jobmgr,
resmgr, workermgr, qmgr, sharedinst, xstrings, endpoints, and job_obj.
Call it from cluster_init_phase1 (after init_controller_tunables) so
all managers exist before election.

This fixes the heap-buffer-overflow in handle_connection: incoming
OP_requestVote SSL connections arrive during the pre-election phase
and call zarray_store(&c->endpoints) — which requires endpoints to
be initialized first.

cluster_init_phase2 is simplified: it no longer re-initializes these
managers and only sets up iomgr/SSL, opens the listener, and loads
cluster-config-dependent data.
2026-05-30 01:20:22 +00:00
..
autoscaler support shared libxce(for api server) 2026-01-19 11:02:49 +08:00
controller refactor(controller): move manager init to cluster_init_phase1 2026-05-30 01:20:22 +00:00
docs claude skills 2026-05-29 15:00:06 +08:00
frontend fix(frontend): remove conf.vcpus from cClusterConfToClusterInfo — field moved to myconf_t 2026-05-29 10:18:01 +00:00
include refactor(controller): extract init_controller_tunables() for perf params 2026-05-30 01:14:40 +00:00
lib Merge branch 'claude_skill' into persistent_ha 2026-05-30 08:14:49 +08:00
nixSupport Merge Go frontend (apiserver + xcecli) into meson build 2026-04-14 11:23:18 +08:00
scheduler enhance xce-build skill 2026-05-30 08:13:59 +08:00
schema fix(ha-bootstrap): wire OP_requestVote RPC through standard Request envelope 2026-05-29 17:01:59 +00:00
tools enhance xce-build skill 2026-05-30 08:13:59 +08:00
worker enhance xce-build skill 2026-05-30 08:13:59 +08:00
flake.lock docs: mark Phase 6 complete in phase6-scheduler-integration-plan 2026-04-30 07:17:32 +00:00
flake.nix save works 2026-03-04 18:18:53 +08:00
meson.build Merge Go frontend (apiserver + xcecli) into meson build 2026-04-14 11:23:18 +08:00
meson.options Merge Go frontend (apiserver + xcecli) into meson build 2026-04-14 11:23:18 +08:00