We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c506245 commit 90c65eeCopy full SHA for 90c65ee
multimaster.c
@@ -782,11 +782,8 @@ MtmPostPrepareTransaction(MtmCurrentTrans* x)
782
tm->state = ts;
783
ts->votingCompleted = true;
784
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 */
+ MtmSendNotificationMessage(ts, MSG_READY); /* send notification to coordinator */
+ if (!MtmUseDtm) {
790
ts->status = TRANSACTION_STATUS_UNKNOWN;
791
}
792
} else {
0 commit comments