-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fix](transaction load) transaction may publish stuck if fe restart (#…
…44190) 1. a transaction for txn load is committed and not published 2. restart FE 3. the `subTxnIdToTxnId` in `DatabaseTransactionMgr` is empty, not record the map of sub txn_id to txn_id 4. if BE report tablet and txn infos, FE will get transaction state to judge if the txn load info in BE can be removed, but get txnId is null from `subTxnIdToTxnId`, so be remove the txn load info 5. the publish will fail because `publish version failed on transaction, tablet version not exists`
- Loading branch information
Showing
3 changed files
with
17 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters