Small bugfixes and logging improvements.

This commit is contained in:
JoelKatz
2012-10-24 12:27:45 -07:00
parent 2aec337c1b
commit b44ef50039
2 changed files with 13 additions and 5 deletions

View File

@@ -646,6 +646,8 @@ void LedgerAcquireSet::onComplete(boost::weak_ptr<LedgerAcquireSet> set, LedgerA
if (acquired->isComplete())
{
Ledger::pointer ledger = acquired->getLedger();
assert(ledger);
cLog(lsDEBUG) << "LedgerAcquireSet::onComplete " << ledger->getLedgerSeq();
ledger->setAccepted();
theApp->getMasterLedger().checkLedgerGap(ledger);
lSet->updateCurrentLedger(ledger);