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

Commit301e79a

Browse files
knizhnikkelvich
authored andcommitted
Check replication slot in prepare transaction
1 parent62f7059 commit301e79a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎multimaster.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -896,7 +896,7 @@ MtmPostPrepareTransaction(MtmCurrentTrans* x)
896896
if (!found) {
897897
ts->isEnqueued= false;
898898
}
899-
if (Mtm->status!=MTM_RECOVERY) {
899+
if (Mtm->status!=MTM_RECOVERY||Mtm->recoverySlot!=MtmReplicationNodeId) {
900900
MtmSendNotificationMessage(ts,MSG_READY);/* send notification to coordinator */
901901
if (!MtmUseDtm) {
902902
ts->status=TRANSACTION_STATUS_UNKNOWN;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp