You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (ts->status!=TRANSACTION_STATUS_ABORTED&& (!ts->votingCompleted||nConfigChanges!=Mtm->nConfigChanges)) {
920
+
if (nConfigChanges!=Mtm->nConfigChanges) {
921
+
elog(WARNING, "Transaction %d is aborted because cluster configuration is changed during commit", x->xid);
922
+
} else {
918
923
elog(WARNING, "Transaction %d is aborted because of %d msec timeout expiration, prepare time %d msec", x->xid, (int)transTimeout, (int)USEC_TO_MSEC(ts->csn-x->snapshot));
919
924
}
920
-
} elseif (nConfigChanges!=Mtm->nConfigChanges) {
921
925
MtmAbortTransaction(ts);
922
-
elog(WARNING, "Transaction %d is aborted because cluster configuration is changed during commit", x->xid);
923
926
}
924
927
x->status=ts->status;
925
928
MTM_LOG3("%d: Result of vote: %d", MyProcPid, ts->status);
0 commit comments