From 855c95f6268b1f31cdadb4b55b4b4ada5db7847a Mon Sep 17 00:00:00 2001 From: Kseniia Sumarokova <54203879+kssenii@users.noreply.github.com> Date: Wed, 17 May 2023 22:46:09 +0200 Subject: [PATCH] Update src/Interpreters/Cache/Metadata.cpp Co-authored-by: Igor Nikonov <954088+devcrafter@users.noreply.github.com> --- src/Interpreters/Cache/Metadata.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Interpreters/Cache/Metadata.cpp b/src/Interpreters/Cache/Metadata.cpp index e0b82763a08..843ffd45b63 100644 --- a/src/Interpreters/Cache/Metadata.cpp +++ b/src/Interpreters/Cache/Metadata.cpp @@ -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); }