Don't filter out contradictory nofailover tag (#2992)

* Ensure that nofailover will always be used if both nofailover and
failover_priority tags are provided
* Call _validate_failover_tags from reload_local_configuration() as well
* Properly check values in the _validate_failover_tags(): nofailover value should be casted to boolean like it is done when accessed in other places
This commit is contained in:
Polina Bungina
2024-01-05 10:16:52 +01:00
committed by Alexander Kukushkin
parent 9cc1f8e763
commit 3e9bceac11
10 changed files with 89 additions and 50 deletions
+1 -1
View File
@@ -124,6 +124,6 @@ postgresql:
#pre_promote: /path/to/pre_promote.sh
tags:
nofailover: false
# failover_priority: 1
noloadbalance: false
clonefrom: false