Skip to content

Commit 6b0f2fb

Browse files
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]>
1 parent b05428c commit 6b0f2fb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

be/src/olap/memtable_memory_limiter.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ void MemTableMemoryLimiter::handle_memtable_flush(std::function<bool()> cancel_c
147147
}
148148
if (cancel_check && cancel_check()) {
149149
LOG(INFO) << "cancelled when waiting for memtable flush";
150+
g_memtable_memory_limit_waiting_threads << -1;
150151
return;
151152
}
152153
first = false;

0 commit comments

Comments
 (0)