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 d94c9cf commit c1785c0Copy full SHA for c1785c0
multimaster.c
@@ -2271,7 +2271,9 @@ void MtmRefreshClusterStatus()
2271
timestamp_t now = MtmGetSystemTime();
2272
for (i = 0, mask = disabled; mask != 0; i++, mask >>= 1) {
2273
if (mask & 1) {
2274
- if (Mtm->nodes[i].lastStatusChangeTime + MSEC_TO_USEC(MtmNodeDisableDelay) < now) {
+ if ((i+1 != MtmNodeId || Mtm->status == MTM_ONLINE)
2275
+ && Mtm->nodes[i].lastStatusChangeTime + MSEC_TO_USEC(MtmNodeDisableDelay) < now)
2276
+ {
2277
MtmDisableNode(i+1);
2278
}
2279
0 commit comments