check-patroni/check_patroni
benoit 78ef0f6ada Fix cluster_node_count's management of replication states
The service now supports the `streaming` state.

Since we dont check for lag or timeline in this service, a healthy node
is :

* leader : in a running state
* standby_leader : running (pre Patroni 3.0.4), streaming otherwise
* standby & sync_standby : running (pre Patroni 3.0.4), streaming otherwise

Updated the tests for this service.
2024-01-09 06:50:00 +01:00
..
__init__.py Release 1.0.0 2023-08-28 12:09:16 +02:00
__main__.py Initial commit 2021-07-02 12:37:03 +02:00
cli.py Fix cluster_node_count's management of replication states 2024-01-09 06:50:00 +01:00
cluster.py Fix cluster_node_count's management of replication states 2024-01-09 06:50:00 +01:00
convert.py Use isort to automatically sort imports 2023-03-20 14:56:11 +01:00
node.py Drop superfluous type annotation of 'self' 2023-10-03 09:39:40 +02:00
types.py cluster_has_replica: fix the way a healthy replica is detected 2023-11-11 10:50:35 +01:00