From 75131a2d533e90fb87b97a6df7ce991d601ad46c Mon Sep 17 00:00:00 2001 From: Xinyi Zou Date: Fri, 17 May 2024 16:16:46 +0800 Subject: [PATCH] 1 --- be/src/runtime/memory/mem_tracker_limiter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/be/src/runtime/memory/mem_tracker_limiter.cpp b/be/src/runtime/memory/mem_tracker_limiter.cpp index 76ee63b5e263af..cb0244721aad93 100644 --- a/be/src/runtime/memory/mem_tracker_limiter.cpp +++ b/be/src/runtime/memory/mem_tracker_limiter.cpp @@ -114,14 +114,14 @@ MemTrackerLimiter::~MemTrackerLimiter() { "4. If you need to " "transfer memory tracking value between two trackers, can use transfer_to."; if (_consumption->current_value() != 0) { - // TODO, expect mem tracker equal to 0 at the task end. + // TODO, expect mem tracker equal to 0 at the load/compaction/etc. task end. #ifndef NDEBUG if (_type == Type::QUERY) { std::string err_msg = fmt::format("mem tracker label: {}, consumption: {}, peak consumption: {}, {}.", label(), _consumption->current_value(), _consumption->peak_value(), mem_tracker_inaccurate_msg); - LOG(INFO) << err_msg << print_address_sanitizers(); + LOG(FATAL) << err_msg << print_address_sanitizers(); } #endif if (ExecEnv::tracking_memory()) {