myxce/src
Rongsong Shen e822b88886
fix(scheduler): admission check reads uncommitted amounts by resource index (bug-1892)
unsatisfy_() compared positional total/inuse/wanted arrays (entry i is
resource wanted->idxs[i]) with uncomitted[i], but the allocation
context's uncommitted vectors are dense and keyed by resource index.
From the second primary of a COMPOUND/ALTER job on, the check ignored
earlier primaries' claim on the same resource (over-admit) or charged
another resource's (wrong pend), with the matching wrong shortfall in
the pend reason.

unsatisfy_() now takes the vector and reads entry wanted->idxs[i]; an
index past its end (sim_loop.c's short all-zero vectors) or a NULL
vector counts as nothing uncommitted.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-01 04:00:42 +00:00
..
autoscaler remove extralib 2026-09-04 11:24:43 +08:00
configs feat(xceadmin): validate percent-based limit values are in [0.0, 1.0] (bug-1833) 2026-09-20 10:50:21 +00:00
controller fix(controller-test): clean_failover_preservation.sh runs again (bug-1721) 2026-09-30 03:51:20 +00:00
docs docs(scheduler-sim-discrete-clock): deployment guide describes the event-driven sim clock and deprecated --sim-speed (task 4.1) 2026-09-29 05:21:11 +00:00
frontend fix(apiserver): an accepted job is in the job store at once (bug-1894) 2026-09-30 04:23:10 +00:00
harness fix(harness): xce_test argument validation, RPC error text and leaks (13 bugs) 2026-09-28 04:17:04 +00:00
include fix(lib): a malformed select in a resreq fails the parse instead of being dropped (bug-1887) 2026-09-29 10:26:35 +00:00
lib fix(lib,scheduler): zarray_get rejects negative indexes; info resource bounds by capacity (bug-1824) 2026-09-30 03:34:57 +00:00
nixSupport remove extralib 2026-09-04 11:24:43 +08:00
scheduler fix(scheduler): admission check reads uncommitted amounts by resource index (bug-1892) 2026-10-01 04:00:42 +00:00
schema feat: acknowledged job start/finish/fail reports (bug-1741) 2026-09-27 06:47:47 +00:00
tools fix(tools): a failing apiserver Go test fails xce-build.sh (bug-1895) 2026-09-30 04:31:25 +00:00
worker fix: spurious errors/warnings from a pc13v HA deploy (bug-1872..1877) 2026-09-28 04:35:19 +00:00
xceadmin feat(xceadmin): validate percent-based limit values are in [0.0, 1.0] (bug-1833) 2026-09-20 10:50:21 +00:00
flake.lock remove extralib 2026-09-04 11:24:43 +08:00
flake.nix remove extralib 2026-09-04 11:24:43 +08:00
meson.build feat(xce-harness-component): relocate xce_test into standalone harness component 2026-09-14 05:08:15 +00:00
meson.options feat(dirty-content-fingerprint): add dirty_fingerprint meson option and C define 2026-08-21 03:54:37 +00:00