node check: add --upstream option

We have a --downstream option to check for attached nodes, but it
would be useful to have a corresponding --upstream option too.

A following patch will adapt the behaviour of this option when executed
on the primary node.
This commit is contained in:
Ian Barwick
2020-03-30 17:54:24 +09:00
parent f3258c5002
commit d9cb38c7f0
6 changed files with 128 additions and 19 deletions

View File

@@ -82,6 +82,12 @@
</simpara>
</listitem>
<listitem>
<simpara>
<option>--upstream</option>: checks that the node is attached to its expected upstream
</simpara>
</listitem>
<listitem>
<simpara>
<option>--slots</option>: checks there are no inactive physical replication slots