This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch branch-2.1
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.1 by this push:
new d23bd872471 branch-2.1: [fix](txn) Restart fe after commit txn causes
`loadedTblIndexes` lossing #50123 (#50206)
d23bd872471 is described below
commit d23bd872471040448c2879ba90c8ccaa7f76925d
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Sat Apr 26 14:58:36 2025 +0800
branch-2.1: [fix](txn) Restart fe after commit txn causes
`loadedTblIndexes` lossing #50123 (#50206)
Cherry-picked from #50123
Co-authored-by: Uniqueyou <[email protected]>
---
.../src/main/java/org/apache/doris/transaction/TransactionState.java | 1 +
1 file changed, 1 insertion(+)
diff --git
a/fe/fe-core/src/main/java/org/apache/doris/transaction/TransactionState.java
b/fe/fe-core/src/main/java/org/apache/doris/transaction/TransactionState.java
index 5955e1c08d0..e4321815fa6 100644
---
a/fe/fe-core/src/main/java/org/apache/doris/transaction/TransactionState.java
+++
b/fe/fe-core/src/main/java/org/apache/doris/transaction/TransactionState.java
@@ -274,6 +274,7 @@ public class TransactionState implements Writable {
// this map should be set when load execution begin, so that when the txn
commit, it will know
// which tables and rollups it loaded.
// tbl id -> (index ids)
+ @SerializedName(value = "loadedTblIndexes")
private Map<Long, Set<Long>> loadedTblIndexes = Maps.newHashMap();
/**
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]