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

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


The following commit(s) were added to refs/heads/branch-4.0 by this push:
     new 6b0f2fb26b3 branch-4.0: [fix](memtable) fix memtable memory limit 
waiting threads count error #59361 (#59393)
6b0f2fb26b3 is described below

commit 6b0f2fb26b3bf9c289cec0da8b37145a74b9ce96
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Fri Dec 26 18:32:43 2025 +0800

    branch-4.0: [fix](memtable) fix memtable memory limit waiting threads count 
error #59361 (#59393)
    
    Cherry-picked from #59361
    
    Co-authored-by: hui lai <[email protected]>
---
 be/src/olap/memtable_memory_limiter.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/be/src/olap/memtable_memory_limiter.cpp 
b/be/src/olap/memtable_memory_limiter.cpp
index b92a0addc9d..67c70b4b3f3 100644
--- a/be/src/olap/memtable_memory_limiter.cpp
+++ b/be/src/olap/memtable_memory_limiter.cpp
@@ -147,6 +147,7 @@ void 
MemTableMemoryLimiter::handle_memtable_flush(std::function<bool()> cancel_c
         }
         if (cancel_check && cancel_check()) {
             LOG(INFO) << "cancelled when waiting for memtable flush";
+            g_memtable_memory_limit_waiting_threads << -1;
             return;
         }
         first = false;


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to