Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Master failover: update alias #913

Merged
merged 2 commits into from
Jun 25, 2019
Merged

Conversation

shlomi-noach
Copy link
Collaborator

At master failover:

  • On successful promotion, immediately update database_instance and replace old cluster_name with new cluster_name. This does not change any logic in the failover, merely speeds up the discovery/resolution of the cluster's instances as part of the new cluster.

  • Push post failover hooks till after MasterFailoverDetachReplicaMasterHost, ReplaceClusterName and SetGeneralAttribute, all of which are immediate or near-immediate operations.

A future PR will run more concurrent operations.

@shlomi-noach shlomi-noach merged commit 5930959 into master Jun 25, 2019
@shlomi-noach shlomi-noach deleted the master-failover-update-alias branch June 25, 2019 09:31
@shlomi-noach shlomi-noach mentioned this pull request Jul 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant