This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch branch-4.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-4.0 by this push:
new 788016c2d31 branch-4.0: [feat](txn) Add txn write amplification brpc
metrics for sub txn load #63545 (#63589)
788016c2d31 is described below
commit 788016c2d311b69d77cc4651321ab1b5d3496f75
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Thu May 28 10:46:06 2026 +0800
branch-4.0: [feat](txn) Add txn write amplification brpc metrics for sub
txn load #63545 (#63589)
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 3864ed40d95..08697accdbd 100644
--- a/cloud/src/meta-service/meta_service_txn.cpp
+++ b/cloud/src/meta-service/meta_service_txn.cpp
@@ -2804,6 +2804,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]