a4ed20210c
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. |
||
---|---|---|
.. | ||
__init__.py | ||
__main__.py | ||
cli.py | ||
cluster.py | ||
convert.py | ||
node.py | ||
types.py |