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

dataroaring pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-3.0 by this push:
     new ce557525971 Revert "branch-3.0: [improve](load) do not block delta 
writer if memtable memory is low #42649 (#43943)" (#44428)
ce557525971 is described below

commit ce55752597161d2ab506d3e00ca387f0aaf6a7a8
Author: Kaijie Chen <chenkai...@selectdb.com>
AuthorDate: Fri Nov 22 11:23:49 2024 +0800

    Revert "branch-3.0: [improve](load) do not block delta writer if memtable 
memory is low #42649 (#43943)" (#44428)
    
    This reverts commit b85c39462eaa8821bdb38b270f605ccdd73bc8bb.
---
 be/src/olap/memtable_memory_limiter.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/be/src/olap/memtable_memory_limiter.cpp 
b/be/src/olap/memtable_memory_limiter.cpp
index 043ce9967fb..1cb6c0c8e2d 100644
--- a/be/src/olap/memtable_memory_limiter.cpp
+++ b/be/src/olap/memtable_memory_limiter.cpp
@@ -141,7 +141,7 @@ void MemTableMemoryLimiter::handle_memtable_flush() {
                       << ", flush: " << 
PrettyPrinter::print_bytes(_flush_mem_usage);
             _flush_active_memtables(need_flush);
         }
-    } while (_hard_limit_reached() && !_load_usage_low());
+    } while (_hard_limit_reached());
     g_memtable_memory_limit_waiting_threads << -1;
     timer.stop();
     int64_t time_ms = timer.elapsed_time() / 1000 / 1000;


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

Reply via email to