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

Commit90c65ee

Browse files
knizhnikkelvich
authored andcommitted
Fix problems with non-DTM mode
1 parentc506245 commit90c65ee

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

‎multimaster.c

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp