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

Failure analysis contains command hint, advertised to hooks #442

Merged
merged 1 commit into from
Mar 18, 2018

Conversation

shlomi-noach
Copy link
Collaborator

Closes #441

This PR adds, where possible, the failover command as part of the analysis structure, thereafter passed to external hooks as {command} or $ORC_COMMAND.

These commands can be:

  • graceful-master-takeover
  • force-master-failover
  • force-master-takeover
  • or empty, when failover was not initiated by a specific command.

@choadrocker
Copy link

This looks great! Thanks!

@shlomi-noach shlomi-noach merged commit f465c53 into master Mar 18, 2018
@shlomi-noach shlomi-noach deleted the graceful-takeover-hooks-command branch March 18, 2018 06:03
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.

None yet

2 participants