Update src/Interpreters/Cache/Metadata.cpp

Co-authored-by: Igor Nikonov <954088+devcrafter@users.noreply.github.com>
This commit is contained in:
Kseniia Sumarokova 2023-05-17 22:46:09 +02:00 committed by GitHub
parent f2dbcb5146
commit 855c95f626
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -284,7 +284,7 @@ void CacheMetadata::doCleanup()
{
/// Key prefix directory can become non-empty just now, it is expected.
if (e.code() == std::errc::directory_not_empty)
return;
continue;
LOG_ERROR(log, "Error while removing key {}: {}", cleanup_key, getCurrentExceptionMessage(true));
chassert(false);
}