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

new command line flag: postpone-shutdown-flag-file, new server command; 'state' #7

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

shlomi-noach
Copy link

Adding:

  • --postpone-shutdown-flag-file: If indicated file exists, and assuming execution is successful, gh-ost will wait after cut-over, and after running the success hooks, instead of exiting. This can be useful in state based environments where we may wish to ask gh-ost wat the state of the migration is, as opposed to assuming it reports the state via hooks. This gives a controller/operator the chance to communicate to gh-ost and confirm that the migration is successful. See also the state server command.
  • state server command: returns Running or Complete. For the latter, see --postpone-shutdown-flag-file

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.

1 participant