From c35296b6ea5811c386a5d1f5a65abcc8b2b96091 Mon Sep 17 00:00:00 2001 From: kssenii Date: Sun, 17 Mar 2024 15:50:10 +0100 Subject: [PATCH] Fix --- src/Interpreters/Cache/LRUFileCachePriority.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Interpreters/Cache/LRUFileCachePriority.cpp b/src/Interpreters/Cache/LRUFileCachePriority.cpp index 2ba3de4667f..6285dc684cf 100644 --- a/src/Interpreters/Cache/LRUFileCachePriority.cpp +++ b/src/Interpreters/Cache/LRUFileCachePriority.cpp @@ -168,6 +168,7 @@ void LRUFileCachePriority::iterate(IterateFunc && func, const CachePriorityGuard if (entry.isEvicting(lock)) { + ++it; ProfileEvents::increment(ProfileEvents::FilesystemCacheEvictionSkippedEvictingFileSegments); continue; }