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

Don't put a non-responding node into COMPLETING state (we send the

KILL_JOB RPC to the slurmd, repeatedly if needed, but don't confirm it).
(gnats:326)
parent 44ba6d8b
No related branches found
No related tags found
No related merge requests found
...@@ -1502,9 +1502,13 @@ void make_node_comp(struct node_record *node_ptr) ...@@ -1502,9 +1502,13 @@ void make_node_comp(struct node_record *node_ptr)
node_ptr->name, node_ptr->name,
node_state_string((enum node_states) node_state_string((enum node_states)
node_ptr->node_state)); node_ptr->node_state));
} else { } else if (!no_resp_flag) {
node_ptr->node_state = NODE_STATE_COMPLETING | no_resp_flag; node_ptr->node_state = NODE_STATE_COMPLETING | no_resp_flag;
xfree(node_ptr->reason); xfree(node_ptr->reason);
} else if ( (base_state == NODE_STATE_ALLOCATED) &&
(node_ptr->run_job_cnt == 0) ) {
bit_set(idle_node_bitmap, inx);
node_ptr->node_state = NODE_STATE_IDLE | no_resp_flag;
} }
} }
......
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