Force restart cluster monitor process if the GTM restarts
authorPavan Deolasee <[email protected]>
Fri, 31 Aug 2018 09:42:42 +0000 (15:12 +0530)
committerPavan Deolasee <[email protected]>
Fri, 31 Aug 2018 09:42:42 +0000 (15:12 +0530)
commitebb08756d4c5569bb1d6ad814a6bf1ca6a031bf4
tree89452db2551d411797de44408dd8057aac47b20f
parentade955d1a0aa824c6a55cb9dd3abafcac8712be3
Force restart cluster monitor process if the GTM restarts

If GTM loses node registration information and returns
GTM_ERRCODE_NODE_NOT_REGISTERED to the coordinator/datanode, restart the
cluster monitor process (by simply exiting with exit code 0). This would ensure
that the cluster monitor re-registers with the GTM and start cleanly.

Per report by Virendra Kumar
src/backend/postmaster/clustermon.c