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

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


The following commit(s) were added to refs/heads/branch-4.1 by this push:
     new 2154c9c4bb7 branch-4.1: [feat](txn) Add txn write amplification brpc 
metrics for sub txn load #63545 (#63590)
2154c9c4bb7 is described below

commit 2154c9c4bb762fdac4eb648fb186db41a686e902
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon May 25 18:15:41 2026 +0800

    branch-4.1: [feat](txn) Add txn write amplification brpc metrics for sub 
txn load #63545 (#63590)
    
    Cherry-picked from #63545
    
    Co-authored-by: Yixuan Wang <[email protected]>
---
 cloud/src/meta-service/meta_service_txn.cpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/cloud/src/meta-service/meta_service_txn.cpp 
b/cloud/src/meta-service/meta_service_txn.cpp
index 2f850a4cd13..cd78f55b94d 100644
--- a/cloud/src/meta-service/meta_service_txn.cpp
+++ b/cloud/src/meta-service/meta_service_txn.cpp
@@ -2882,6 +2882,9 @@ void MetaServiceImpl::commit_txn_with_sub_txn(const 
CommitTxnRequest* request,
             continue;
         }
 
+        record_txn_commit_stats(txn.get(), instance_id, 
partition_indexes.size(), tablet_ids.size(),
+                                txn_id);
+
         CommitTxnLogPB commit_txn_log;
         commit_txn_log.set_txn_id(txn_id);
         commit_txn_log.set_db_id(db_id);


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

Reply via email to