Skip to content

Commit 1e01110

Browse files
committed
ensure nConfigChanges is incremented on every status change
1 parent 3050588 commit 1e01110

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

state.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ MtmSetClusterStatus(MtmNodeStatus status)
5959
if (Mtm->status == status)
6060
return;
6161

62+
Mtm->nConfigChanges += 1; /* this will restart backends */
63+
6264
MTM_LOG1("[STATE] Switching status from %s to %s status",
6365
MtmNodeStatusMnem[Mtm->status], MtmNodeStatusMnem[status]);
6466

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy