Improvements to repmgr cluster show

Add documentation; show recovery status in --csv mode.
This commit is contained in:
Ian Barwick
2017-07-20 10:25:13 +09:00
parent a5c5d9fa40
commit b99443b0c8
6 changed files with 118 additions and 14 deletions

View File

@@ -1,4 +1,12 @@
Standardisation on `primary`
----------------------------
To standardise terminolgy, `primary` is used to denote the read/write
node in a streaming replication cluster. `master` is still accepted
as a synonym (e.g. `repmgr master register`).
New command line options
------------------------
@@ -29,6 +37,18 @@ Changed command line options
configuration file option `monitoring_history`. This enables the
setting to be changed without having to modify system service files.
Changes to repmgr commands
--------------------------
### `repmgr cluster show`
This now displays the role of each node (e.g. `primary`, `standby`)
and its status in separate columns.
The `--csv` option now emits a third column indicating the recovery
status of the node.
Removed configuration file options
----------------------------------