From 702f90fc9d6c107ebb3a5bf993ea65d4a3a99f78 Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Mon, 11 Mar 2019 16:18:10 +0900 Subject: [PATCH] doc: update list of reloadable repmgrd configuration options --- configfile.c | 18 ++++++++++------ doc/repmgrd-configuration.sgml | 39 +++++++++++++++++++++++++++++++++- 2 files changed, 50 insertions(+), 7 deletions(-) diff --git a/configfile.c b/configfile.c index 45cfcc50..3961cacc 100644 --- a/configfile.c +++ b/configfile.c @@ -1078,15 +1078,19 @@ parse_time_unit_parameter(const char *name, const char *value, char *dest, ItemL * loop is started up; it therefore only needs to reload options required * by repmgrd, which are as follows: * - * changeable options: + * changeable options (keep the list in "doc/repmgrd-configuration.sgml" in sync + * with these): + * * - async_query_timeout * - bdr_local_monitoring_only * - bdr_recovery_timeout + * - connection_check_type * - conninfo * - degraded_monitoring_timeout * - event_notification_command * - event_notifications * - failover + * - failover_validation_command * - follow_command * - log_facility * - log_file @@ -1094,17 +1098,19 @@ parse_time_unit_parameter(const char *name, const char *value, char *dest, ItemL * - log_status_interval * - monitor_interval_secs * - monitoring_history + * - primary_notification_timeout + * - primary_visibility_consensus * - promote_command - * - promote_delay * - reconnect_attempts * - reconnect_interval * - repmgrd_standby_startup_timeout * - retry_promote_interval_secs - * - standby_disconnect_on_failover * - sibling_nodes_disconnect_timeout - * - connection_check_type - * - primary_visibility_consensus - * - failover_validation_command + * - standby_disconnect_on_failover + * + * + * Not publicly documented: + * - promote_delay * * non-changeable options (repmgrd references these from the "repmgr.nodes" * table, not the configuration file) diff --git a/doc/repmgrd-configuration.sgml b/doc/repmgrd-configuration.sgml index 934a588b..df869a48 100644 --- a/doc/repmgrd-configuration.sgml +++ b/doc/repmgrd-configuration.sgml @@ -190,7 +190,7 @@ - + Optional configuration for automatic failover @@ -407,6 +407,13 @@ repmgrd_service_stop_command='sudo systemctl repmgr11 stop' + + + + connection_check_type + + + conninfo @@ -431,6 +438,12 @@ repmgrd_service_stop_command='sudo systemctl repmgr11 stop' + + + failover_validation_command + + + failover @@ -485,6 +498,12 @@ repmgrd_service_stop_command='sudo systemctl repmgr11 stop' + + + primary_visibility_consensus + + + promote_command @@ -503,12 +522,30 @@ repmgrd_service_stop_command='sudo systemctl repmgr11 stop' + + + retry_promote_interval_secs + + + repmgrd_standby_startup_timeout + + + sibling_nodes_disconnect_timeout + + + + + + standby_disconnect_on_failover + + +