mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-22 22:56:29 +00:00
standby switchover: improve directory check failure handling
It's possible that the remote data directory check will fail if e.g. connection configuration is not consistent across all nodes. This modification ensures a database error connection is reported, rather than a spurios issue with the data directory configuration.
This commit is contained in:
@@ -221,6 +221,13 @@ typedef enum
|
||||
JOIN_FAIL_NO_REPLICATION
|
||||
} standy_join_status;
|
||||
|
||||
typedef enum
|
||||
{
|
||||
REMOTE_ERROR_UNKNOWN = -1,
|
||||
REMOTE_ERROR_NONE,
|
||||
REMOTE_ERROR_DB_CONNECTION,
|
||||
REMOTE_ERROR_CONNINFO_PARSE
|
||||
} t_remote_error_type;
|
||||
|
||||
typedef struct ColHeader
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user