mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-22 22:56:29 +00:00
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.
20 lines
453 B
C
20 lines
453 B
C
/*
|
|
* repmgr-action-node.h
|
|
* Copyright (c) 2ndQuadrant, 2010-2017
|
|
*/
|
|
|
|
#ifndef _REPMGR_ACTION_NODE_H_
|
|
#define _REPMGR_ACTION_NODE_H_
|
|
|
|
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);
|
|
|
|
|
|
|
|
#endif /* _REPMGR_ACTION_NODE_H_ */
|