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

Commitd3df745

Browse files
committed
Fix problems with non-DTM mode
1 parentfb788a8 commitd3df745

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

‎contrib/mmts/multimaster.c‎

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -783,11 +783,8 @@ MtmPostPrepareTransaction(MtmCurrentTrans* x)
783783
tm->state=ts;
784784
ts->votingCompleted= true;
785785
if (Mtm->status!=MTM_RECOVERY) {
786-
if (MtmUseDtm) {
787-
MtmSendNotificationMessage(ts,MSG_READY);/* send notification to coordinator */
788-
}else {
789-
ts->csn=MtmAssignCSN();
790-
MtmSendNotificationMessage(ts,MSG_PREPARED);/* send notification to coordinator */
786+
MtmSendNotificationMessage(ts,MSG_READY);/* send notification to coordinator */
787+
if (!MtmUseDtm) {
791788
ts->status=TRANSACTION_STATUS_UNKNOWN;
792789
}
793790
}else {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp