mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-27 17:06:29 +00:00
doc: add troubleshooting section to switchover documentation
This commit is contained in:
@@ -2934,11 +2934,11 @@ do_standby_switchover(void)
|
||||
}
|
||||
|
||||
/*
|
||||
* Check that there's no exclusive backups running on the primary.
|
||||
* Check that there are no exclusive backups running on the primary.
|
||||
* We don't want to end up damaging the backup and also leaving the server in an
|
||||
* state where there's control data saying it's in backup mode but there's no
|
||||
* backup_label in PGDATA.
|
||||
* If the DBA wants to do the switchover anyway, he should first stop the
|
||||
* If the user wants to do the switchover anyway, they should first stop the
|
||||
* backup that's running.
|
||||
*/
|
||||
if (server_in_exclusive_backup_mode(remote_conn) != BACKUP_STATE_NO_BACKUP)
|
||||
|
||||
Reference in New Issue
Block a user