A few iprovements in patronictl (#601)

* make switchover work with an old patroni
* exclude leader from candidates when interactively running failover
This commit is contained in:
Alexander Kukushkin
2018-01-17 15:33:08 +01:00
committed by GitHub
parent 4202ad853a
commit a1e5c8e1cb
4 changed files with 32 additions and 9 deletions
+14
View File
@@ -3,6 +3,20 @@
Release notes
=============
Version 1.4.1
-------------
**Fixes in patronictl**
- Don't show current leader in suggested list of members to failover to. (Alexander Kukushkin)
patronictl failover could still work when there is leader in the cluster and it should be excluded from the list of member where it is possible to failover to.
- Make patronictl switchover compatible with the old Patroni api (Alexander)
In case if POST /switchover REST API call has failed with status code 501 it will do it once again, but to /failover endpoint.
Version 1.4
-----------