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

Commit79aafd9

Browse files
committed
Use two phase commit
1 parent685a409 commit79aafd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎pg_dtm.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -632,7 +632,7 @@ static void DtmSetTransactionStatus(TransactionId xid, int nsubxids, Transaction
632632
LWLockAcquire(dtm->hashLock,LW_EXCLUSIVE);
633633
hash_search(xid_in_doubt,&DtmNextXid,HASH_ENTER,NULL);
634634
LWLockRelease(dtm->hashLock);
635-
while (DtmGlobalSetTransStatus(xid,status,false)<0);
635+
while (DtmGlobalSetTransStatus(xid,status,true)<0);
636636
XTM_INFO("Commit transaction %d\n",xid);
637637
}
638638
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp