mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-04 17:27:00 +00:00
TEMP: Change logging to show progress during unit test
This commit is contained in:
@@ -308,6 +308,9 @@ SHAMapStoreImp::run()
|
||||
validatedSeq >= lastRotated + deleteInterval_ &&
|
||||
canDelete_ >= lastRotated - 1 && healthWait() == keepGoing;
|
||||
|
||||
JLOG(journal_.fatal())
|
||||
<< "run: Setting lastGoodValidatedLedger_ to " << validatedSeq;
|
||||
|
||||
// Note that this is set after the healthWait() check, so that we don't
|
||||
// start the rotation until the validated ledger is fully processed. It
|
||||
// is not guaranteed to be done at this point. It also allows the
|
||||
@@ -317,7 +320,7 @@ SHAMapStoreImp::run()
|
||||
// will delete up to (not including) lastRotated
|
||||
if (readyToRotate)
|
||||
{
|
||||
JLOG(journal_.warn())
|
||||
JLOG(journal_.fatal())
|
||||
<< "rotating validatedSeq " << validatedSeq << " lastRotated "
|
||||
<< lastRotated << " deleteInterval " << deleteInterval_
|
||||
<< " canDelete_ " << canDelete_ << " state "
|
||||
@@ -385,7 +388,7 @@ SHAMapStoreImp::run()
|
||||
clearCaches(validatedSeq);
|
||||
});
|
||||
|
||||
JLOG(journal_.warn()) << "finished rotation " << validatedSeq;
|
||||
JLOG(journal_.fatal()) << "finished rotation " << validatedSeq;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -652,7 +655,7 @@ SHAMapStoreImp::healthWait()
|
||||
(mode != OperatingMode::FULL || age > ageThreshold_ || numMissing > 0))
|
||||
{
|
||||
lock.unlock();
|
||||
JLOG(journal_.warn())
|
||||
JLOG(journal_.fatal())
|
||||
<< "Waiting " << recoveryWaitTime_.count()
|
||||
<< "s for node to stabilize. state: "
|
||||
<< app_.getOPs().strOperatingMode(mode, false) << ". age "
|
||||
@@ -666,6 +669,8 @@ SHAMapStoreImp::healthWait()
|
||||
lastGoodValidatedLedger_, index);
|
||||
}
|
||||
|
||||
JLOG(journal_.fatal()) << "healthWait: Setting lastGoodValidatedLedger_ to "
|
||||
<< index;
|
||||
lastGoodValidatedLedger_ = index;
|
||||
|
||||
return stop_ ? stopping : keepGoing;
|
||||
|
||||
Reference in New Issue
Block a user