flux-framework / flux-sched

Fluxion Graph-based Scheduler
GNU Lesser General Public License v3.0
84 stars 39 forks source link

reapi cli: match allocate job info and return bug #1098

Closed zekemorton closed 3 weeks ago

zekemorton commented 8 months ago

Found a few bugs in reapi_cli_t::match_allocate

zekemorton commented 3 weeks ago

Addressed in merged PR noted above.

Note this from a comment in the PR: "we found that changing the interface for reapi_clit_t::match_allocate has bigger implications and the return behavior should be left as is. A non 0 return code represents an error when running the code rather than a failure to find a match. rq2 now determines if a match was found by checking errno for ENODEV, EBUSY, EINVAL, all of which indicate a failure to match."