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

[SWF] Implement DecisionTaskPoller.awaitTermination. #6

Open
manikandanrs opened this issue Aug 3, 2016 · 2 comments
Open

[SWF] Implement DecisionTaskPoller.awaitTermination. #6

manikandanrs opened this issue Aug 3, 2016 · 2 comments
Labels

Comments

@manikandanrs
Copy link
Contributor

From @zstd on January 15, 2015 13:47

Right now method DecisionTaskPoller.awaitTermination not implemented (there is only TODO item) and WorkflowWorker stops without waiting for currently active polling task to complete.

This may lead to sporadical errors in situation when we stop workflow and start it immediately: in that case stopped workflow may 'steal' decision task from starting workflow without ability to process it - that will cause decision task timeout.

Copied from original issue: aws/aws-sdk-java#346

@manikandanrs
Copy link
Contributor Author

From @christophercurrie on February 10, 2015 21:52

👍 for this. Implementing graceful shutdown is very difficult (read: impossible) without a proper lifecycle implementation.

@manikandanrs
Copy link
Contributor Author

From @zstd on February 11, 2015 6:59

Ок. I have seen the code and understand that if this feature was trivial it was already implemented.
Nevertheless, I'd be glad to hear if this improvement was at least planned for 'not-so-near' future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant