This is an automated email from the ASF dual-hosted git repository.
dataroaring pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-3.0 by this push:
new 9f2097c882e branch-3.0: [fix](cloud) fix abort transaction in
runningTxns list when show routine load #45629 (#45721)
9f2097c882e is described below
commit 9f2097c882e4eaefa7b4fd4386d2e6a8b4719334
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Thu Dec 26 09:27:14 2024 +0800
branch-3.0: [fix](cloud) fix abort transaction in runningTxns list when
show routine load #45629 (#45721)
Cherry-picked from #45629
Co-authored-by: hui lai <[email protected]>
---
.../org/apache/doris/cloud/transaction/CloudGlobalTransactionMgr.java | 1 +
1 file changed, 1 insertion(+)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/cloud/transaction/CloudGlobalTransactionMgr.java
b/fe/fe-core/src/main/java/org/apache/doris/cloud/transaction/CloudGlobalTransactionMgr.java
index 80595c54ddc..46ec6989416 100644
---
a/fe/fe-core/src/main/java/org/apache/doris/cloud/transaction/CloudGlobalTransactionMgr.java
+++
b/fe/fe-core/src/main/java/org/apache/doris/cloud/transaction/CloudGlobalTransactionMgr.java
@@ -1217,6 +1217,7 @@ public class CloudGlobalTransactionMgr implements
GlobalTransactionMgrIface {
if (txnCommitAttachment != null && txnCommitAttachment instanceof
RLTaskTxnCommitAttachment) {
RLTaskTxnCommitAttachment rlTaskTxnCommitAttachment =
(RLTaskTxnCommitAttachment) txnCommitAttachment;
callbackId = rlTaskTxnCommitAttachment.getJobId();
+ txnState.setTransactionId(transactionId);
}
cb = callbackFactory.getCallback(callbackId);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]