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

zhangchen 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 36e9e773c1e [fix](group commit) add bvar for group commit block by 
memory counter (#51851)
36e9e773c1e is described below

commit 36e9e773c1e4f3d873590d8e5a621fbe806dd02f
Author: meiyi <[email protected]>
AuthorDate: Thu Jun 19 18:52:58 2025 +0800

    [fix](group commit) add bvar for group commit block by memory counter 
(#51851)
---
 be/src/runtime/group_commit_mgr.cpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/be/src/runtime/group_commit_mgr.cpp 
b/be/src/runtime/group_commit_mgr.cpp
index 9e368d81438..bb0d626bab3 100644
--- a/be/src/runtime/group_commit_mgr.cpp
+++ b/be/src/runtime/group_commit_mgr.cpp
@@ -35,6 +35,8 @@
 
 namespace doris {
 
+bvar::Adder<uint64_t> 
group_commit_block_by_memory_counter("group_commit_block_by_memory_counter");
+
 std::string LoadBlockQueue::_get_load_ids() {
     std::stringstream ss;
     ss << "[";
@@ -82,6 +84,7 @@ Status LoadBlockQueue::add_block(RuntimeState* runtime_state,
         if (!runtime_state->is_cancelled() && status.ok() &&
             _all_block_queues_bytes->load(std::memory_order_relaxed) >=
                     config::group_commit_queue_mem_limit) {
+            group_commit_block_by_memory_counter << 1;
             DCHECK(_load_ids_to_write_dep.find(load_id) != 
_load_ids_to_write_dep.end());
             _load_ids_to_write_dep[load_id]->block();
             VLOG_DEBUG << "block add_block for load_id=" << load_id


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

Reply via email to