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 6c4f698 commit b0920e3Copy full SHA for b0920e3
multimaster.c
@@ -2058,7 +2058,14 @@ MtmPollStatusOfPreparedTransactions(bool majorMode)
2058
MtmL2List *start = Mtm->activeTransList.next;
2059
MtmL2List *cur;
2060
2061
+ /*
2062
+ * Backends check cluster config changes every MtmHeartbeatSendTimeout ms,
2063
+ * so we need here to wait slightly more time to allow them to detect error
2064
+ * and set votingCompleted flag.
2065
+ */
2066
+ MtmUnlock();
2067
MtmSleep(2*MtmHeartbeatSendTimeout*1000);
2068
+ MtmLock(LW_EXCLUSIVE);
2069
2070
for (cur = start; cur->next != start; cur = cur->next)
2071
{
0 commit comments