Content-Length: 252221 | pFad | http://github.com/postgrespro/postgres_cluster/commit/1e011104270d0a8f720a80916b7d4fdfc628b709

9D ensure nConfigChanges is incremented on every status change · postgrespro/postgres_cluster@1e01110 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/1e011104270d0a8f720a80916b7d4fdfc628b709

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy