Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
"standby switchover": close all connections used to check repmgrd status
The connections used to check repmgrd status on all nodes were not being closed if repmgrd was not running. Normally this wouldn't be a huge problem as they will go away when repmgr terminates or the PostgreSQL server restarted. However, if shutdown mode is "smart", the open connection on the demotion candidate will cause the shutdown operation to fail until repmgr times out.
- Loading branch information