Commit 1dfcac0d authored by Timothy Stack's avatar Timothy Stack

Fix a bad call to TBNodeStateWait

parent 31f0037f
......@@ -624,12 +624,16 @@ sub WaitTillReloadDone($$$@)
while ($count) {
foreach my $node (@nodes) {
print STDERR "osload ($node): waiting for node to finish ".
"booting";
"booting\n";
if ($done{$node} < $waitmode) {
my $actual_state;
if (!TBNodeStateWait($node,
TBDB_NODESTATE_ISUP,
$startwait,
(60*7))) {
(60*6),
\$actual_state,
(TBDB_NODESTATE_TBFAILED,
TBDB_NODESTATE_ISUP))) {
$count--;
$done{$node} = $waitmode;
}
......
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