Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 6836421

Browse files
knizhnikkelvich
authored andcommitted
Ignore aborts of already committed transactions
1 parent b05a0ec commit 6836421

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

arbiter.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -952,6 +952,11 @@ static void MtmTransReceiver(Datum arg)
952952
}
953953
break;
954954
case MSG_ABORTED:
955+
if (ts->status == TRANSACTION_STATUS_COMMITTED) {
956+
elog(WARNING, "Receive ABORTED response for already committed transaction %d from node %d",
957+
ts->xid, msg->node);
958+
continue;
959+
}
955960
if (ts->status != TRANSACTION_STATUS_ABORTED) {
956961
Assert(ts->status == TRANSACTION_STATUS_IN_PROGRESS);
957962
MtmAbortTransaction(ts);

0 commit comments

Comments
 (0)