We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent681372d commitabb6801Copy full SHA for abb6801
multimaster.c
@@ -1181,9 +1181,12 @@ Mtm2PCVoting(MtmCurrentTrans* x, MtmTransState* ts)
1181
timestamp_tstart=MtmGetSystemTime();
1182
timestamp_tdeadline=start+timeout;
1183
timestamp_tnow;
1184
+uint32SaveCancelHoldoffCount=QueryCancelHoldoffCount;
1185
1186
Assert(ts->csn>ts->snapshot);
1187
1188
+QueryCancelHoldoffCount=0;
1189
+
1190
/* Wait votes from all nodes until: */
1191
while (!MtmVotingCompleted(ts))
1192
{
@@ -1212,6 +1215,8 @@ Mtm2PCVoting(MtmCurrentTrans* x, MtmTransState* ts)
1212
1215
}
1213
1216
1214
1217
1218
+QueryCancelHoldoffCount=SaveCancelHoldoffCount;
1219
1220
if (ts->status!=TRANSACTION_STATUS_ABORTED&& !ts->votingCompleted) {
1221
if (ts->isPrepared) {
1222
MTM_ELOG(WARNING,"Commit of distributed transaction %s is suspended because node is switched to %s mode",ts->gid,MtmNodeStatusMnem[Mtm->status]);