Add "repmgr node status"

Outputs an overview of a node's status, and emits warnings if any
issues detected.
This commit is contained in:
Ian Barwick
2017-07-25 00:12:16 +09:00
parent 93c35618a2
commit 8a2e4db1bc
8 changed files with 290 additions and 11 deletions

View File

@@ -1389,8 +1389,8 @@ do_standby_follow(void)
* replication slots are in use and we want to delete the old slot.
*/
record_status = get_node_record(primary_conn,
config_file_options.node_id,
&local_node_record);
config_file_options.node_id,
&local_node_record);
if (record_status != RECORD_FOUND)
{