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

Clean up startup/shutdown sequence for yokozuna #610

Closed

Conversation

jvoegele
Copy link
Contributor

@jvoegele jvoegele commented Feb 3, 2016

See issue #581 for background.

  • Ensure that all of the solrqs are drained at shutdown.
  • Move shutdown logic to yz_app:prep_stop function.
  • General cleanup of the startup and shutdown code.
  • Add a new riak_test (yz_startup_shutdown) that tests all of the above.

Also add the yz_startup_shutdown riak_test to verify that it is working
as expected.
This is a (hopefully temporary) hack to allow for using the parse
transform from within the yokozuna repo. See the comment in the
rt_intercept_pt.erl file for further details.
%% mechanism is found for using the rt_intercept_pt parse transform
%% external to the riak_test repository.
%% -------------------------------------------------------------------
%% XXX
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zeeshanlakhani Note the temporary hack to get the parse transform to work. ^^^

We don't want any failures to abort the rest of the cleanup process
in prep_stop, so ignore return values. Also, no need for the newlines
in lager messages, so remove those.
@zeeshanlakhani
Copy link
Contributor

Will be incorporated into another PR.

@zeeshanlakhani zeeshanlakhani deleted the feature/jv/graceful-shutdown branch March 1, 2016 15:10
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

3 participants