if (log.getInDoubtTransactions().isEmpty()) { log.recoverEnd(); int firstUncommittedSection = getFirstUncommittedSection(); log.removeUntil(firstUncommittedSection); } else {
writeBack(); int firstUncommittedSection = getFirstUncommittedSection();
if (log.getInDoubtTransactions().size() == 0) { log.recoverEnd(); int firstUncommittedSection = getFirstUncommittedSection(); log.removeUntil(firstUncommittedSection); } else {
if (log.getInDoubtTransactions().size() == 0) { log.recoverEnd(); int firstUncommittedSection = getFirstUncommittedSection(); log.removeUntil(firstUncommittedSection); } else {
writeBack(); int firstUncommittedSection = getFirstUncommittedSection();
writeBack(); int firstUncommittedSection = getFirstUncommittedSection();