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

failover: perform failover if master node disappears or never appears #15

Merged

Conversation

saaros
Copy link
Contributor

@saaros saaros commented Aug 13, 2015

If we don't see a master node in the cluster before failover_timeout seconds
have passed since the list of cluster nodes was last refreshed perform a
failover to promote one of the standby nodes.  This is useful when a cluster
has been brought up from backups and there is no existing master node.

If a master node has been present in the cluster and later on disappears
from both connections and configuration we should perform an immediate
failover decision as there is no chance of reconnecting to a node that's no
longer in our configuration.  This speeds up promotion when a node is
deleted from the cluster.

If we don't see a master node in the cluster before failover_timeout seconds
have passed since the list of cluster nodes was last refreshed perform a
failover to promote one of the standby nodes.  This is useful when a cluster
has been brought up from backups and there is no existing master node.

If a master node has been present in the cluster and later on disappears
from both connections and configuration we should perform an immediate
failover decision as there is no chance of reconnecting to a node that's no
longer in our configuration.  This speeds up promotion when a node is
deleted from the cluster.
Ormod added a commit that referenced this pull request Aug 13, 2015
…m_cluster

failover: perform failover if master node disappears or never appears
@Ormod Ormod merged commit 29c55a3 into Aiven-Open:master Aug 13, 2015
@saaros saaros deleted the promote_when_masters_disappear_from_cluster branch August 18, 2015 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants