}
if (mCorrect)
{
RecoveryTransaction tx = new RecoveryTransaction(new Uid(txId));
BasicAbstractRecord bar = new BasicAbstractRecord();
tx.doCommit();
if (bar.getValue() == mMaxIteration * mNumberOfResources)
{
tx = new RecoveryTransaction(new Uid(txId));
if (tx.activate()) // should generate a warning message
{
Debug("Error transaction log is still available!");
mCorrect = false;
}
}
else
{
Debug("Error restored state is " + bar.getValue());
}
}
qaAssert(mCorrect);
}