Reduce number of "stat" syscalls for MergeTree data parts

This commit is contained in:
Alexey Milovidov 2019-06-16 22:36:15 +03:00
parent b494d17ca6
commit b6acb29625

View File

@ -414,7 +414,7 @@ void MergeTreeDataPart::remove() const
}
catch (...)
{
LOG_ERROR(storage.log, "Cannot quickly remove directory " << to_dir << " by removing files; fallback to recursive removal.");
LOG_ERROR(storage.log, "Cannot quickly remove directory " << to << " by removing files; fallback to recursive removal.");
to_dir.remove(true);
}
}