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

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 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.

2 participants