Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6836421

Browse files
knizhnikkelvich
authored andcommitted
Ignore aborts of already committed transactions
1 parentb05a0ec commit6836421

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
caseMSG_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)

[8]ページ先頭

©2009-2025 Movatter.jp