branch-2.1: [fix](txn) Restart fe after commit txn causes loadedTblIndexes lossing #50123 (#50206)

Cherry-picked from #50123

Co-authored-by: Uniqueyou <wangyixuan@selectdb.com>
This commit is contained in:
github-actions[bot]
2025-04-26 14:58:36 +08:00
committed by GitHub
parent 619a491e98
commit d23bd87247

View File

@ -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();
/**