Replace repmgr.conf item "upstream_node_id" with --upstream-node-id

This is only relevant when cloning a standby and the node's upstream
can change after failover/switchover etc., so no point keeping the
original value around in the configuration file.
This commit is contained in:
Ian Barwick
2017-06-26 09:00:31 +09:00
committed by Ian Barwick
parent 24c6b2c9f1
commit 4e06355b57
8 changed files with 30 additions and 30 deletions

View File

@@ -5,10 +5,16 @@ New command line options
- `--dry-run`: repmgr will attempt to perform the action as far as possible
without making any changes to the database
- `--upstream-node-id`: use to specify the upstream node the standby will
connect later stream from, when cloning a standby. This replaces the configuration
file parameter `upstream_node`, as the upstream node is set when the standby
is initially cloned, but can change over the lifetime of an installation (due
to failovers, switchovers etc.) so it's pointless/confusing keeping the original
value around in the config file.
Changed command line options
----------------------------
### repmgr
- `--replication-user` is now passed when registering the master server (and