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 191cedb commit 31d659aCopy full SHA for 31d659a
contrib/mmts/multimaster.c
@@ -840,7 +840,7 @@ MtmPostPrepareTransaction(MtmCurrentTrans* x)
840
841
timestamp_t start = MtmGetSystemTime();
842
/* wait votes from all nodes */
843
- while (!ts->votingCompleted && ts->status != TRANSACTION_STATUS_ABORTED && start + transTimeout >= MtmGetSystemTime())
+ while (!ts->votingCompleted && Mtm->status == MTM_ONLINE && ts->status != TRANSACTION_STATUS_ABORTED && start + transTimeout >= MtmGetSystemTime())
844
{
845
MtmUnlock();
846
result = WaitLatch(&MyProc->procLatch, WL_LATCH_SET|WL_TIMEOUT, MtmHeartbeatRecvTimeout);
0 commit comments