Skip to content

Commit 90c65ee

Browse files
knizhnikkelvich
authored andcommitted
Fix problems with non-DTM mode
1 parent c506245 commit 90c65ee

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy