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

gavinchou 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 60d1b99b191 [feat](txn) Add txn write amplification brpc metrics for 
sub txn load (#63545)
60d1b99b191 is described below

commit 60d1b99b1919a676ce5488576f66c317f7a3c77d
Author: Yixuan Wang <[email protected]>
AuthorDate: Mon May 25 14:45:43 2026 +0800

    [feat](txn) Add txn write amplification brpc metrics for sub txn load 
(#63545)
---
 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