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

CoordinatedWorker can be zombied under throttling / multiple activites can run #87

Open
sclasen opened this issue Aug 28, 2015 · 0 comments

Comments

@sclasen
Copy link
Owner

sclasen commented Aug 28, 2015

when we receive an error while attempting to heartbeat, we just continue here

https://github.com/sclasen/swfsm/blob/master/activity/coordinated_worker.go#L63

In the case where RecordActivityTaskHeartbeat is being constantly throttled, the worker will never get a heartbeat through, and never know that it was canceled.

In the meantime, since other APIs limits are not being hit, SWF will happliy time out the activity, and in most cases your decider will reschedule it.

That activity will also start getting throttled on heartbeats, and the deadly cycle will ensue.

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

No branches or pull requests

1 participant