Remove patronictl failover --leader option (#3129)

Option has been deprecated and should be removed in the new major release
This commit is contained in:
Polina Bungina
2024-08-16 10:18:18 +02:00
committed by GitHub
parent 7659ccd50b
commit 31cf951b69
3 changed files with 13 additions and 44 deletions
-11
View File
@@ -320,7 +320,6 @@ Synopsis
failover
[ CLUSTER_NAME ]
[ --group CITUS_GROUP ]
[ { --leader | --primary } LEADER_NAME ]
--candidate CANDIDATE_NAME
[ --force ]
@@ -359,16 +358,6 @@ Parameters
``CITUS_GROUP`` is the ID of the Citus group.
``--leader`` / ``--primary``
Indicate who is the expected leader at failover time.
If given, a switchover is performed instead of a failover.
``LEADER_NAME`` should match the name of the current leader in the cluster.
.. warning::
This argument is deprecated and will be removed in a future release.
``--candidate``
The node to be promoted on failover.