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 42b26c7842d [log](load) suppress memtable memory limiter logs (#53277)
(#54126)
42b26c7842d is described below
commit 42b26c7842d2badcdd9a7db68d0ae4ea5cd0fcb9
Author: Kaijie Chen <[email protected]>
AuthorDate: Wed Aug 13 11:01:30 2025 +0800
[log](load) suppress memtable memory limiter logs (#53277) (#54126)
backport #53277
---
be/src/olap/memtable_memory_limiter.cpp | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/be/src/olap/memtable_memory_limiter.cpp
b/be/src/olap/memtable_memory_limiter.cpp
index cae597ccc94..dba30d042d7 100644
--- a/be/src/olap/memtable_memory_limiter.cpp
+++ b/be/src/olap/memtable_memory_limiter.cpp
@@ -158,7 +158,17 @@ void MemTableMemoryLimiter::handle_memtable_flush() {
timer.stop();
int64_t time_ms = timer.elapsed_time() / 1000 / 1000;
g_memtable_memory_limit_latency_ms << time_ms;
- LOG(INFO) << "waited " << time_ms << " ms for memtable memory limit";
+ if (time_ms > 0) {
+ LOG(INFO) << "waited " << PrettyPrinter::print(timer.elapsed_time(),
TUnit::TIME_NS)
+ << " for memtable memory limit"
+ << ", " <<
GlobalMemoryArbitrator::process_memory_used_details_str() << ", "
+ << GlobalMemoryArbitrator::sys_mem_available_details_str()
+ << ", load mem: " <<
PrettyPrinter::print_bytes(_mem_tracker->consumption())
+ << ", memtable writers num: " << _writers.size()
+ << ", active: " <<
PrettyPrinter::print_bytes(_active_mem_usage)
+ << ", queue: " <<
PrettyPrinter::print_bytes(_queue_mem_usage)
+ << ", flush: " <<
PrettyPrinter::print_bytes(_flush_mem_usage);
+ }
}
void MemTableMemoryLimiter::_flush_active_memtables(int64_t need_flush) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]