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 63d4492 commit cbe3845Copy full SHA for cbe3845
multimaster.c
@@ -839,7 +839,7 @@ MtmPostPrepareTransaction(MtmCurrentTrans* x)
839
840
timestamp_t start = MtmGetSystemTime();
841
/* wait votes from all nodes */
842
- 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())
843
{
844
MtmUnlock();
845
result = WaitLatch(&MyProc->procLatch, WL_LATCH_SET|WL_TIMEOUT, MtmHeartbeatRecvTimeout);
0 commit comments