check-patroni/check_patroni
benoit a4ed20210c Improve doc for node_is_replica
node_is_replica is using the following Patroni endpoints: replica, asynchronous
and synchronous. The first two implement the lag tag. For these endpoints
the state of a replica node doesn't reflect the replication state
(streaming or in archive recovery), we only know if it's running. The
timeline is also not checked.

Therefore, if a cluster is using asynchronous replication, it is recommended
to check for the lag to detect a divegence as soon as possible.
2024-02-26 16:02:53 +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 Improve doc for node_is_replica 2024-02-26 16:02:53 +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