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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy