Skip to content
Snippets Groups Projects
Commit ce1d362d authored by Moe Jette's avatar Moe Jette
Browse files

Fix bug that had non-responding DRAINING node go into state DRAINED

and when returned to service went improperly back into state DRAINING
(job counter was inconsistent).
parent b5cc2f0d
No related branches found
No related tags found
No related merge requests found
......@@ -1482,7 +1482,7 @@ void make_node_comp(struct node_record *node_ptr)
(node_ptr->run_job_cnt)--;
else
error("Node %s run_job_cnt underflow", node_ptr->name);
if (base_state != NODE_STATE_DOWN)
if ((base_state != NODE_STATE_DOWN) && (!no_resp_flag))
(node_ptr->comp_job_cnt)++; /* Don't verify RPC */
}
......
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