Commit 219680e7 authored by Mike Hibler's avatar Mike Hibler
Browse files

attempt 2 at swap retry fix

parent 2d9d43a9
......@@ -971,9 +971,10 @@ sub doSwapin($) {
#
if ($type == RETRY ||
($type == UPDATE && ($updateReboot || $updateReconfig))) {
my $needreboot = ($type == RETRY || $updateReboot);
my $needreboot = ($type == RETRY || $updateReboot) ? 1 : 0;
print STDERR "Marking nodes for reboot/reconfig.\n";
print STDERR "Marking nodes for ",
$needreboot ? "reboot" : "reconfig", ".\n";
$db_result =
DBQueryFatal("select r.node_id,n.allocstate from reserved as r ".
"left join nodes as n on n.node_id=r.node_id ".
......
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