Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
job-exec: fix potential hang after exec kill error
Problem: When the job-exec module handles an error from the wait-all composite future created from exec_kill(), it makes an assumption that all child futures are also fulfilled, and calls flux_future_get() ion each individual future in bulk_exec_kill_log_error() to print a specific error. However, if bulk kill operation times out, then one or more of the child futures may not be fulfilled, and the module could block forever. Check that each child future is ready in bulk_exec_kill_log_error() before calling flux_future_get() to avoid the hang. Fixes flux-framework#5523
- Loading branch information