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

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


The following commit(s) were added to refs/heads/master by this push:
     new 241cb7adf62 [bugfix](core) fmt lost one parameter (#40914)
241cb7adf62 is described below

commit 241cb7adf6247e555d941ca36cb8369298aeeba5
Author: yiguolei <[email protected]>
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 <[email protected]>
---
 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to