mirror of
https://github.com/actiontech/dble.git
synced 2026-05-19 14:19:09 -05:00
close may countdown but not set status
This commit is contained in:
+1
-1
@@ -297,7 +297,7 @@ public class XACommitNodesHandler extends AbstractCommitNodesHandler {
|
||||
XAStateLog.saveXARecoveryLog(session.getSessionXaID(), mysqlCon);
|
||||
mysqlCon.setXaStatus(TxState.TX_INITIALIZE_STATE);
|
||||
if (decrementToZero(mysqlCon)) {
|
||||
if (session.getXaState() == TxState.TX_PREPARED_STATE) {
|
||||
if (session.getXaState() == TxState.TX_PREPARED_STATE && !isFail()) {
|
||||
session.setXaState(TxState.TX_INITIALIZE_STATE);
|
||||
}
|
||||
cleanAndFeedback(true);
|
||||
|
||||
Reference in New Issue
Block a user