You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by yi...@apache.org on 2024/09/23 06:08:18 UTC

(doris) 02/02: [bugfix](core) fmt lost one parameter (#40914)

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

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

commit 0a35a87bfca393e928c9423b34491e628904a7e6
Author: yiguolei <67...@qq.com>
AuthorDate: Wed Sep 18 17:54:59 2024 +0800

    [bugfix](core) fmt lost one parameter (#40914)
    
    ## Proposed changes
    
    bug is introduced by https://github.com/apache/doris/pull/40542
    
    <!--Describe your changes.-->
    
    ---------
    
    Co-authored-by: yiguolei <yi...@gmail.com>
---
 be/src/runtime/memory/mem_tracker.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/be/src/runtime/memory/mem_tracker.h b/be/src/runtime/memory/mem_tracker.h
index 9ea11fa8696..82b05fe544a 100644
--- a/be/src/runtime/memory/mem_tracker.h
+++ b/be/src/runtime/memory/mem_tracker.h
@@ -45,7 +45,7 @@ public:
 
     const std::string& label() const { return _label; }
     std::string log_usage() const {
-        return fmt::format("MemTracker Lame={}, Used={}({} B), Peak={}({} B)",
+        return fmt::format("MemTracker name={}, Used={}({} B), Peak={}({} B)", _label,
                            MemCounter::print_bytes(consumption()), consumption(),
                            MemCounter::print_bytes(peak_consumption()), peak_consumption());
     }


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