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

Fix shutdown sequence to wait force_flush #1009

Merged
merged 3 commits into from
May 31, 2016

Conversation

tagomoris
Copy link
Member

These changes are to wait #force_flush of output plugins.

#before_shutdown does #force_flush of output plugins, but it may emit events to other plugins. We should wait completion of all plugins before proceeding #shutdown.

This change also includes blocker callback per kinds of plugins for each shutdown sequence steps.
This feature makes it sure to call shutdown calls of input plugins before output plugins.

* this feature makes it possible to control execute shutdown sequence per kind of plugins
  * to make it sure to shutdown input plugins before output plugins to stop emit events
@tagomoris tagomoris merged commit c8961d4 into master May 31, 2016
@tagomoris tagomoris deleted the fix-shutdown-sequence-to-wait-flush-all branch May 31, 2016 01:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant