mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-22 22:56:29 +00:00
standby switchover: display "shutdown_check_timeout" value in --dry-run mode
It's useful to be aware of this setting.
This commit is contained in:
@@ -186,6 +186,7 @@
|
|||||||
NOTICE: local node "node2" (ID: 2) will be promoted to primary; current primary "node1" (ID: 1) will be demoted to standby
|
NOTICE: local node "node2" (ID: 2) will be promoted to primary; current primary "node1" (ID: 1) will be demoted to standby
|
||||||
INFO: following shutdown command would be run on node "node1":
|
INFO: following shutdown command would be run on node "node1":
|
||||||
"pg_ctl -l /var/log/postgresql/startup.log -D '/var/lib/postgresql/data' -m fast -W stop"
|
"pg_ctl -l /var/log/postgresql/startup.log -D '/var/lib/postgresql/data' -m fast -W stop"
|
||||||
|
INFO: parameter "shutdown_check_timeout" is set to 60 seconds
|
||||||
</programlisting>
|
</programlisting>
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
|||||||
@@ -4409,6 +4409,9 @@ do_standby_switchover(void)
|
|||||||
remote_node_record.node_name,
|
remote_node_record.node_name,
|
||||||
shutdown_command);
|
shutdown_command);
|
||||||
|
|
||||||
|
log_info(_("parameter \"shutdown_check_timeout\" is set to %i seconds"),
|
||||||
|
config_file_options.shutdown_check_timeout);
|
||||||
|
|
||||||
clear_node_info_list(&sibling_nodes);
|
clear_node_info_list(&sibling_nodes);
|
||||||
|
|
||||||
key_value_list_free(&remote_config_files);
|
key_value_list_free(&remote_config_files);
|
||||||
|
|||||||
Reference in New Issue
Block a user