mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-26 08:36:30 +00:00
switchover: check for pending archive files on the demotion candidate
If the current primary (demotion candidate) still has any files to archive, it will delay the shutdown until all files are archived. If there is a substantial number of files, and/or the archive command executes slowly, this will probably lead to an unwelcome delay in the switchover process.
This commit is contained in:
@@ -8,6 +8,8 @@
|
||||
|
||||
extern void do_node_status(void);
|
||||
extern void do_node_check(void);
|
||||
extern bool do_node_check_archiver(PGconn *conn, OutputMode mode, PQExpBufferData *output);
|
||||
|
||||
extern void do_node_archive_config(void);
|
||||
extern void do_node_restore_config(void);
|
||||
extern void do_node_service(void);
|
||||
|
||||
Reference in New Issue
Block a user