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 replication lag warning to be always lower that failover timeout #63

Merged

Commits on Feb 24, 2021

  1. fix replication lag warning to be always lower than failover timeout

    Without this patch warning boundary could be set higher than failover
    timeout leading to warning file not created at all. As result warning
    handling mechanism never comes into play.
    
    This patch improves that behaviour by setting warning boundary to same
    as failover timeout
    sjamgade committed Feb 24, 2021
    Configuration menu
    Copy the full SHA
    d1eff08 View commit details
    Browse the repository at this point in the history
  2. force atleast once check between replication lag warning and timeout

    If pglookout is unable to do some periodic checks and comes back to
    notice replication lag has grown over failover limit because the replica
    was unresponsive, then its better to force one more check than straight
    jump to failover.
    sjamgade committed Feb 24, 2021
    Configuration menu
    Copy the full SHA
    3422690 View commit details
    Browse the repository at this point in the history