Debug tests

This commit is contained in:
Alexey Milovidov 2020-07-16 06:02:20 +03:00
parent 82ea884d01
commit 68f9fd3767

View File

@ -118,14 +118,14 @@ public:
{ {
try try
{ {
std::cerr << "Done: " << done << "\n"; LOG_TRACE(storage.log, "Done: {}\n", done);
if (!done) if (!done)
{ {
/// Rollback partial writes. /// Rollback partial writes.
streams.clear(); streams.clear();
std::cerr << "Repairing\n"; LOG_TRACE(storage.log, "Repairing");
storage.file_checker.repair(); storage.file_checker.repair();
} }