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 fb788a8 commit d3df745Copy full SHA for d3df745
contrib/mmts/multimaster.c
@@ -783,11 +783,8 @@ MtmPostPrepareTransaction(MtmCurrentTrans* x)
783
tm->state = ts;
784
ts->votingCompleted = true;
785
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 */
+ MtmSendNotificationMessage(ts, MSG_READY); /* send notification to coordinator */
+ if (!MtmUseDtm) {
791
ts->status = TRANSACTION_STATUS_UNKNOWN;
792
}
793
} else {
0 commit comments