Adds a case for NotifyData_data_jobDispatchFail to sched_handle_notify()'s switch, fixing bug-1625 -- the notify was previously silently discarded (falling to default: -EINVAL), leaving job->accounts/job->allocs stale forever on any dispatch failure. No classification logic here: the controller has already decided PEND is correct before sending the notify; this reuses the same XCE_SCHED_OP_JSTATE_CHANGE enqueue path the adjacent schedExitJob/schedFailJob cases already use, and relies on core_events.c's existing free-on-non-RUN branch to release the stale accounts/allocs. Independently reviewed and approved: full scheduler suite passes (51/52, one pre-existing unrelated flake -- bug-1560). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Cxa1PmqAB5PyXfJaNvj8TN |
||
|---|---|---|
| .. | ||
| settings | ||
| specs | ||
| steering | ||