Branches handle_jobsubmit() on array_size: ==1 continues through today's exact unmodified single-job path; >1 routes through a new handle_jobsubmit_array() helper that reuses jobsubmit_async_ctx_t with pending=1 and calls task 2.1's persist_submit_job_array_async() instead of looping N single-element appends. Range validation (jobid_range_exists/inflight_range_try_add) unchanged, same order, strictly before any WAL append, for both branches. Retires two pre-existing tests whose premise (N independent per-element WAL entries with mixed outcomes) is now structurally impossible with one entry per array; restores array-scoped job-non-existence coverage for the failed-commit case that an earlier draft of this change had dropped (Req 2.2/9.2). Task 2.2 of job-array-single-wal-record. |
||
|---|---|---|
| .. | ||
| settings | ||
| specs | ||
| steering | ||