n ProcessPGXCNodeRegister() when another standby makes a connection,
we can check if there is an existing standby already present via
find_standby_node_info. We can additionally check if this current
standby is reachable via PQconnectGTM() as well and only if the
current standby seems to be under issues should we allow this new one
to be accepted. Otherwise we can reject this new standby.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It's not a beta blocker but nice to have in 1.1.
Nikhil's suggestion:
n ProcessPGXCNodeRegister() when another standby makes a connection,
we can check if there is an existing standby already present via
find_standby_node_info. We can additionally check if this current
standby is reachable via PQconnectGTM() as well and only if the
current standby seems to be under issues should we allow this new one
to be accepted. Otherwise we can reject this new standby.