KEMBAR78
Master failover: fix processes flow on PreFailoverProcesses failure by shlomi-noach · Pull Request #1044 · openark/orchestrator · GitHub
Skip to content
This repository was archived by the owner on Feb 18, 2025. It is now read-only.

Conversation

@shlomi-noach
Copy link
Collaborator

A bug seems to have been introduced recently, and this PR fixes it.

On a master failover, if any one of PreFailoverProcesses fails, the entire failover operation should be aborted. This implies not running any post-failover processes.

In the existing bug, the failover itself does not take place, but PostUnsuccessfulFailoverProcesses do get invoked.

This PR fixes the situation.

cc @jfg956 who brought this to my attention in chat.

@shlomi-noach shlomi-noach temporarily deployed to production/mysql_cluster=conductor January 8, 2020 08:13 Inactive
@shlomi-noach shlomi-noach merged commit 7676980 into master Jan 8, 2020
@shlomi-noach shlomi-noach deleted the pre-failover-failure-abort branch January 8, 2020 08:47
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