Tiago SerafimT
Windmill2y ago
31 replies
Tiago Serafim

Deadlock and "was unable to make the last transition"

I'm running EE v1.303.4.

There's this flow that only uses the REST scripts, one of them is a call to OpenAI's chat completion cached by Clouflare. I noticed that when testing this flow with the results already cached by Cloudflare, they return almost instantly, and the the flow executes very fast with the errors in the screen shot. I did not even set the error handler and the it shows up with the error message InternalErr: Sql error: error returned from database: deadlock detected. In the console I only see the same error as in the UI: Flow 018eb3b7-2601-ffbd-c7c0-72933c171ae7 cancelled as one of the parallel branch 018eb3b7-2655-648a-161f-c4cb1314d5e9 was unable to make the last transition

Since it's on my dev machine, I don't think it's related to lack of compute resources. This happens even with lower values of parallelism in the forloop such as 5.
Screenshot_2024-04-06_110931.png
Was this page helpful?