mirror of
https://github.com/outbackdingo/patroni.git
synced 2026-08-25 14:53:37 +00:00
Remove patronictl failover --leader option (#3129)
Option has been deprecated and should be removed in the new major release
This commit is contained in:
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user