This is an automated email from the ASF dual-hosted git repository.

pengxiangyu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/master by this push:
     new af0f4584d5 fix cache cleaner (#12432)
af0f4584d5 is described below

commit af0f4584d54ee01d32daa0df25122c6b385d05f4
Author: zxealous <xealous0...@gmail.com>
AuthorDate: Thu Sep 8 13:31:19 2022 +0800

    fix cache cleaner (#12432)
---
 be/src/io/cache/file_cache_manager.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/be/src/io/cache/file_cache_manager.cpp 
b/be/src/io/cache/file_cache_manager.cpp
index d65e9d75d6..c5ea420460 100644
--- a/be/src/io/cache/file_cache_manager.cpp
+++ b/be/src/io/cache/file_cache_manager.cpp
@@ -78,7 +78,7 @@ void FileCacheManager::clean_timeout_file_not_in_mem(const 
std::string& cache_pa
             std::list<std::string> done_names;
             for (Path cache_file_name : cache_file_names) {
                 std::string filename = cache_file_name.native();
-                if (ends_with(filename, CACHE_DONE_FILE_SUFFIX)) {
+                if (!ends_with(filename, CACHE_DONE_FILE_SUFFIX)) {
                     cache_names[filename] = true;
                     continue;
                 }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to