Commit 6a01f66c authored by Leigh B. Stoller's avatar Leigh B. Stoller

Use a replace since a node could be dead in both the stop and start

phases of a run. Eventually we want to remove dead nodes from
consideration, but this will do for now.
parent 2e2bfc84
...@@ -3186,7 +3186,7 @@ sub MarkNodeDead($$) ...@@ -3186,7 +3186,7 @@ sub MarkNodeDead($$)
return -1 return -1
if (!defined($vname)); if (!defined($vname));
DBQueryWarn("insert into experiment_template_instance_deadnodes set ". DBQueryWarn("replace into experiment_template_instance_deadnodes set ".
" instance_idx='$instance_idx', exptidx='$exptidx', ". " instance_idx='$instance_idx', exptidx='$exptidx', ".
" runidx='$runidx', node_id='$node_id', vname='$vname'") " runidx='$runidx', node_id='$node_id', vname='$vname'")
or return -1; or return -1;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment