Commit ffa88d02 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Adjust the timeout for stuck in BOOTING.

parent 7122341e
......@@ -1847,10 +1847,11 @@ sub WaitForNodes($$@)
# we just fail.
#
if ($op_mode eq TBDB_NODEOPMODE_NORMALv2 &&
($state eq TBDB_NODESTATE_VNODEBOOTSTART ||
$state eq TBDB_NODESTATE_BOOTING) &&
$state eq $node->_laststate() &&
time() - $node->_laststatestamp() > 240) {
(($state eq TBDB_NODESTATE_VNODEBOOTSTART &&
time() - $node->_laststatestamp() > 240) ||
($state eq TBDB_NODESTATE_BOOTING &&
time() - $node->_laststatestamp() > 400))) {
my $giveup = $node->_retried();
# physnode, give up right away.
$giveup = 1
......
Supports Markdown
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