content-analysis-on-aws icon indicating copy to clipboard operation
content-analysis-on-aws copied to clipboard

Failed workflows block other workflows from running

Open ianwow opened this issue 4 years ago • 3 comments

Failed workflows can get stuck in a "Started" state. This causes the concurrent execution queue to fill up with failed workflows that look like they're "Started" but are actually failed. You can see their real status if you look at their state machine in AWS Step Functions.

To clear the concurrent execution queue, open the content-analysisWorkflowExecution table in DynamoDB and remove one or more of the records for assets which are stuck in a Started status, like this:

imageimage

ianwow avatar Jul 22 '20 17:07 ianwow

@ianwow could you add s screenshot of StepFunctions, so that I could get a better view which will help me to quickly get to the code pieces. I am interested in working on this issue.

markotitel avatar Aug 24 '20 07:08 markotitel

@ianwow could you add s screenshot of StepFunctions, so that I could get a better view which will help me to quickly get to the code pieces. I am interested in working on this issue.

There are some screenshots of StepFunctions here: https://docs.aws.amazon.com/solutions/latest/aws-content-analysis/appendix-c-state-machines.html

Thanks for checking out this issue!

ianwow avatar Aug 25 '20 05:08 ianwow

@ianwow I have deployed the solution and am aware of stepfunctions. Could you screenshot where it broke for you?

markotitel avatar Aug 26 '20 14:08 markotitel