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

Inform workflow dispatcher about pending shutdown to allw faster clean shutdown #393

Merged
merged 11 commits into from
Apr 18, 2020

Conversation

gmokki
Copy link
Member

@gmokki gmokki commented Apr 17, 2020

No description provided.

@gmokki gmokki requested a review from efonsell April 17, 2020 12:16
Copy link
Member

@efonsell efonsell left a comment

Choose a reason for hiding this comment

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

LGTM

@gmokki gmokki changed the title Inform workflow disptcher about pending shutdown to allw faster clean shutdown Inform workflow dispatcher about pending shutdown to allw faster clean shutdown Apr 17, 2020
…ed internalRetryEnabled variable. Tests seem to pass nicely without it
@coveralls
Copy link

coveralls commented Apr 17, 2020

Coverage Status

Coverage increased (+0.005%) to 84.969% when pulling e8f7dd7 on faster-shutdown into 91700e1 on master.

@efonsell efonsell merged commit 3157162 into master Apr 18, 2020
@efonsell efonsell deleted the faster-shutdown branch April 18, 2020 15:51
efonsell pushed a commit that referenced this pull request Apr 19, 2020
…n shutdown (#393)

* Pass information to workflow disptcher about pending shutdown to allow faster clean shutdown

* Add test for expedited shutdown for workflow processor. Remove unneeded internalRetryEnabled variable. Tests seem to pass nicely without it

* Tune retry loops log properly on shutdown and avoid extra sleeps

* Shut down the executor forcibly to interrupt any stuck workflows

* Make dispatcher shutdown block until ongoing shutdown is finished when the shutdown was already in progress, tune logging

Co-authored-by: Edvard Fonsell <edvard.fonsell@nitorcreations.com>
efonsell pushed a commit that referenced this pull request Apr 19, 2020
…n shutdown (#393)

* Pass information to workflow disptcher about pending shutdown to allow faster clean shutdown

* Add test for expedited shutdown for workflow processor. Remove unneeded internalRetryEnabled variable. Tests seem to pass nicely without it

* Tune retry loops log properly on shutdown and avoid extra sleeps

* Shut down the executor forcibly to interrupt any stuck workflows

* Make dispatcher shutdown block until ongoing shutdown is finished when the shutdown was already in progress, tune logging

Co-authored-by: Edvard Fonsell <edvard.fonsell@nitorcreations.com>
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