Skip to content
Snippets Groups Projects
Commit 447a498f authored by Morris Jette's avatar Morris Jette
Browse files

BGQ - Refine logic to handle down cnodes

The previous patch should work in most cases, but this should
work more reliably and the comment is more clear
bug 1196
parent 0dcc431d
No related branches found
No related tags found
No related merge requests found
......@@ -486,10 +486,10 @@ int job_step_signal(uint32_t job_id, uint32_t step_id,
job_id, step_id);
return ESLURM_INVALID_JOB_ID;
}
if (job_ptr->nodes_completing == NULL) {
if (job_ptr->node_bitmap == NULL) {
/* Job state has already been cleared for requeue.
* Rely upon real-time server to put cnodes in error
* state. */
* This indicates that all nodes are already down.
* Rely upon real-time server to manage cnodes state */
info("%s: job %u already requeued, can not down cnodes",
__func__, job_id);
return ESLURM_ALREADY_DONE;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment