Skip to content
This repository was archived by the owner on Feb 18, 2025. It is now read-only.

Master failover: update alias#913

Merged
shlomi-noach merged 2 commits intomasterfrom
master-failover-update-alias
Jun 25, 2019
Merged

Master failover: update alias#913
shlomi-noach merged 2 commits intomasterfrom
master-failover-update-alias

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