-
Notifications
You must be signed in to change notification settings - Fork 14
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
Decider and Activity pollers stop polling after 3 tries #113
Comments
interesting, we definitely have not seen this behavior, could you share a code snippet that produces this @ryanwalls ? Thanks! |
I've created a public copy of my project here: https://github.com/ryanwalls/workflow-demo Something weird is definitely happening... it fails at varying points now that I've add debug logging to the AWS config. The key file to look at is |
@ryanwalls thanks! havent had a chance to build / run just yet but one thing that may (or not) cause an issue is calling FSM.Init(), since the Start() method would call it. https://github.com/ryanwalls/workflow-demo/blob/master/simulationworkflow/fsm.go#L75 One of the few (sorry! 😄 ) meaningful doc comments is on the Init method, which I think means you shouldnt call it (failing to load the context in my brain as to why, so just trusting my past self) https://github.com/sclasen/swfsm/blob/master/fsm/fsm.go#L193-L194 Could you try removing that line and let me know if it works or not? If that doesnt help I'll dig in further when I have some more time. |
@sclasen Removed the line, and still hangs. It hangs at various points in the polling. I captured the goroutine traces when I killed the app using
I've changed the source code some trying to debug this, but line 250 (which appears to be kicking off a bunch of |
Thanks for trying. One more thing to give a try, maybe set gomaxprocs to 1 Otherwise I will try and get this running to see whats up. On Fri, Jan 22, 2016 at 1:03 PM, ryanwalls notifications@github.com wrote:
|
Sorry for the hassle. Always the little things... I figured it out.... see https://code.google.com/p/go/issues/detail?id=7190 I was using |
aha, excellent. @ryanwalls Thanks for taking the time to post the repo, etc....please let me know if you run into anything else! |
When the FSM is started, it polls 3 times and then stops/hangs. Log output:
Allow 5+ minutes to pass and no more logging is produced.
ActivityTaskPoller
exhibits the same behavior. Log output:The text was updated successfully, but these errors were encountered: