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 missing decision timeout for transient decisions #889

Merged

Conversation

samarabbas
Copy link
Contributor

@samarabbas samarabbas commented Jun 25, 2018

We were using incorrect scheduleID for transient decisions on decision
started event. This happens if a new event comes in after a transient
decision is scheduled, but before it is started. We end up a creating a
timeout task with the wrong decision schedule id causing timer
processing to skip that timeout event.
Also added an integration test for this use case.

Fixes #887

We were using incorrect scheduleID for transient decisions on decision
started event.  This happens if a new event comes in after a transient
decision is scheduled, but before it is started.  We end up a creating a
timeout task with the wrong decision schedule id causing timer
processing to skip that timeout event.
Also added an integration test for this use case.
@samarabbas samarabbas force-pushed the missing-decision-timeout branch from fdebcf4 to 4e4455e Compare June 26, 2018 01:18
@samarabbas samarabbas merged commit da1ccd6 into cadence-workflow:master Jun 26, 2018
@samarabbas samarabbas deleted the missing-decision-timeout branch June 26, 2018 01:45
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.

2 participants