Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix cluster_node_count's management of replication states #66

Merged
merged 2 commits into from
Jan 9, 2024

Commits on Jan 9, 2024

  1. 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.
    blogh committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    e506d18 View commit details
    Browse the repository at this point in the history
  2. Fix cluster_has_leader in archive recovery tests

    Since replication states are also over-ridden for standby_leaders since
    the commit fixing cluster_node_count, the tests had to be adapted.
    blogh committed Jan 9, 2024
    Configuration menu
    Copy the full SHA
    831ca26 View commit details
    Browse the repository at this point in the history