Skip to content

Message: an outstanding start workflow request is in-progress. Failed to acquire the resource #4439

Answered by longquanzheng
alexfjw asked this question in Q&A
Discussion options

You must be logged in to vote

The error is from here: https://github.com/uber/cadence/blob/v0.21.3/service/history/historyEngine.go#L566

From the code, it's very likely that you are trying to start more than one workflows with the same workflowID concurrently.

If that's the case, those requests will be all trying to acquire a lock for the worklfowID which would cause some failed.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by alexfjw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants