Update document "changes-in-repmgr4.md"

This commit is contained in:
Ian Barwick
2017-08-21 12:53:47 +09:00
parent 5df77f0fed
commit f131d37871

View File

@@ -55,22 +55,24 @@ Configuration file changes
### Required settings ### Required settings
Following 4 parameters are mandatory: The following 4 parameters are mandatory in `repmgr.conf`:
- node_id - `node_id`
- node_name - `node_name`
- conninfo - `conninfo`
- pgdata - `data_directory`
### Renamed settings ### Renamed settings
Some settings have been renamed for clarity/consistency Some settings have been renamed for clarity and consistency:
node -> node_id
name -> node_name
- `node`: now `node_id`
- `name`: now `node_name`
- `master_reponse_timeout`: now `async_query_timeout` to better indicate its
purpose
- Following configuration file parameters have been renamed for consistency - The following configuration file parameters have been renamed for consistency
with other parameters (and conform to the pattern used by PostgreSQL itself, with other parameters (and conform to the pattern used by PostgreSQL itself,
which uses the prefix `log_` for logging parameters): which uses the prefix `log_` for logging parameters):
- `loglevel` has been renamed to `log_level` - `loglevel` has been renamed to `log_level`
@@ -79,10 +81,15 @@ name -> node_name
### Removed settings ### Removed settings
- `cluster` has been removed - `cluster`: has been removed
- `upstream_node`: see note about `--upstream-node-id` above. - `upstream_node`: see note about `--upstream-node-id` above.
- `retry_promote_interval_secs`: this is now redundant due to changes in the
failover/promotion mechanism; the new equivalent is `primary_notification_timeout`
### Logging changes ### Logging changes
- default value for `log_level` is `INFO` rather than `NOTICE`.
- new parameter `log_status_interval` - default value for `log_level` is `INFO` rather than `NOTICE`.
- new parameter `log_status_interval`, which causes `repmgrd` to emit a status log
line at the specified interval