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

dataroaring 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 5153137b83b [fix](metrics) fix bvar 
memtable_input_block_allocated_size (#28725)
5153137b83b is described below

commit 5153137b83b488172267856b90c5af75f752dce9
Author: Kaijie Chen <[email protected]>
AuthorDate: Thu Dec 21 21:16:14 2023 +0800

    [fix](metrics) fix bvar memtable_input_block_allocated_size (#28725)
---
 be/src/olap/memtable.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/be/src/olap/memtable.cpp b/be/src/olap/memtable.cpp
index 4f8637a34a9..d6a0ad93f2b 100644
--- a/be/src/olap/memtable.cpp
+++ b/be/src/olap/memtable.cpp
@@ -507,6 +507,7 @@ std::unique_ptr<vectorized::Block> MemTable::to_block() {
         !_tablet_schema->cluster_key_idxes().empty()) {
         _sort_by_cluster_keys();
     }
+    g_memtable_input_block_allocated_size << 
-_input_mutable_block.allocated_bytes();
     _input_mutable_block.clear();
     _insert_mem_tracker->release(_mem_usage);
     _mem_usage = 0;


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to