Commit 33028c10 authored by Leigh Stoller's avatar Leigh Stoller

Small fix for Kirk; Handle node reconfig in vnode_setup by looking at

the allocstate (which was set earlier in tbswap).

Note that we do not reconfig vnodes, even local jails. We just reboot
them instead since its so fast to reboot. Might need to revisit that
at some point.
parent 70aa83f9
......@@ -272,6 +272,13 @@ foreach my $node (@nodes) {
print "$node needs a reboot on remote node $pnode\n";
$mode = "reboot";
}
elsif ($allocstate eq TBDB_ALLOCSTATE_RES_RECONFIG()) {
print "$node needs a reconfig on remote node $pnode\n";
# We do not actually reconfig virtual nodes; just
# reboot them. Might reconfig someday, in which case
# this would move up into os_setup.
$mode = "reboot";
}
}
}
}
......
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