myxce/src/controller
lei.chen b38ef6de63 fix(testsuite): resize crr_build_config caller arrays -- bug-1977
The external-license-resources E2 fixture builder crr_build_config
registers five resources and four distributions, writing resources[4],
dists[3] and vals[4]. All four caller test functions declared only
resources[4]/dists[3]/vals[4], so every build_config call wrote past
the caller's stack arrays -- deterministic ASAN stack-buffer-overflow,
the whole controller suite (137 fixtures) red since 2fcacac2.

Resize the four caller arrays to match the builder's sizing
(resources[5]/dists[4]/vals[5]) with a bug-1977 comment on the sizing
contract. No production code touched.

Verified: src/tools/xce-build.sh controller (asan) 6/6 OK, controller
suite 91s green; buglog record .wolf/bugs/bug-1977.md.

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-10-28 11:58:19 +00:00
..
include E2 Phase 1: external-license-resources — xceesd daemon, extres role, EXTERNAL admission 2026-10-27 03:45:28 +00:00
testsuite fix(testsuite): resize crr_build_config caller arrays -- bug-1977 2026-10-28 11:58:19 +00:00
apiserver.c fix(controller): push workers before configs on apiserver join 2026-08-24 14:17:50 +00:00
CLAUDE.md fix(controller): raft_cb_persist must deny vote and roll back state on persist failure (bug-1684) 2026-08-25 07:49:49 +00:00
cluster.c E2 Phase 1: external-license-resources — xceesd daemon, extres role, EXTERNAL admission 2026-10-27 03:45:28 +00:00
commit.c Fix two flaky test failures: commit sweep timeout + array stats identity 2026-10-22 02:51:42 +00:00
config_repl.c admin-plane breakpoint 2: YAML resourcemap wiring + queue payload deep-copy 2026-10-23 14:29:29 +00:00
config_repl.h fix(controller): size the config-push barrier for loaded hosts and admit its wait (bug-1914) 2026-10-04 23:59:29 +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
ctrlstatus.c fix(controller): cold start elects in ~1.7 s, not ~10 s; ctrlstatus appliedLsn on the primary (bug-1879, bug-1878) 2026-09-28 07:35:45 +00:00
dataex.c fix(scheduler,controller): worker resource values always display as 0.00 (bug-1568) 2026-08-17 10:35:34 +00:00
egress.c feat(ha-convergence-recovery): commit-gated scheduler egress — submit_lsn tagging + watermark gate (task 1.2) 2026-06-14 02:33:36 +00:00
extres.c E2 Phase 1: external-license-resources — xceesd daemon, extres role, EXTERNAL admission 2026-10-27 03:45:28 +00:00
ha.c admin-plane breakpoint 3: done-job live GC 2026-10-23 15:47:10 +00:00
ha.h admin-plane breakpoint 3: done-job live GC 2026-10-23 15:47:10 +00:00
ha_convergence.c fix(controller): offload demotion convergence and catch-up streaming by default (bug-1450, bug-1451) 2026-09-27 05:46:09 +00:00
job.c E2 Phase 3: per-project/per-queue license quotas via limit vres + controller shared-alloc migration fix 2026-10-28 05:36:43 +00:00
join.c E2 Phase 1: external-license-resources — xceesd daemon, extres role, EXTERNAL admission 2026-10-27 03:45:28 +00:00
main.c build: eliminate all remaining compile warnings 2026-10-21 15:38:42 +00:00
meson.build E2 Phase 1: external-license-resources — xceesd daemon, extres role, EXTERNAL admission 2026-10-27 03:45:28 +00:00
misc.c feat(controller): compute the LSF CPU peak and efficiency fields (bug-1736) 2026-10-02 04:14:35 +00:00
myapp.c fix: spurious errors/warnings from a pc13v HA deploy (bug-1872..1877) 2026-09-28 04:35:19 +00:00
myconf.c fix(config): serialize load_primary_config against concurrent invocations (bug-1476) 2026-07-28 08:13:54 +00:00
opget.c refactor(controller,xceadmin): drop generic Resource.unit, hardcode bytes for maxmem 2026-08-13 08:27:16 +00:00
opupd.c E2 Phase 1: external-license-resources — xceesd daemon, extres role, EXTERNAL admission 2026-10-27 03:45:28 +00:00
persist.c worker: handle pre-exec failure without dying; persist: skip snapshot queues not in config 2026-10-22 07:17:01 +00:00
queue.c admin-plane breakpoint 2: YAML resourcemap wiring + queue payload deep-copy 2026-10-23 14:29:29 +00:00
repl.c build: remove nix dependency layer -- apt system libs + meson wrap subprojects 2026-10-20 18:04:22 +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
resync.c fix(controller): persist a failed job's finish_time through WAL_JOB_FAIL (bug-1747) 2026-09-26 09:33:55 +00:00
sched.c admin-plane breakpoint 2: YAML resourcemap wiring + queue payload deep-copy 2026-10-23 14:29:29 +00:00
slowlane.c fix(controller): offload demotion convergence and catch-up streaming by default (bug-1450, bug-1451) 2026-09-27 05:46:09 +00:00
startup_validation.c fix(controller): restored-but-stale raft term permanently blocked re-election after restart (bug-1695) 2026-08-25 16:11:37 +00:00
task.c save works 2026-03-04 18:18:53 +08:00
worker.c E2 Phase 2: external-license-resources 运维面 — stale 标记、last-updated 展示、xceadmin extres status 2026-10-27 14:00:33 +00:00