updated Microsoft.Azure.WebJobs.Extensions.DurableTask from 2.1.1 to 2.10.0 with the above update. hopefully it has resolved the issue.
Help my durable functions are getting stuck in the pending status indefinately
when i query the status of my durable functions, I have recently had several get stuck with pending status. yesterday i observed that sometimes they work normally, other times they are getting stuck.
I have only just noticed this behavior yesterday. but admittedly this was the first time i took a close look at these systems in weeks. Any idea what could cause this? was there a recent bugged update behind the scenes?
Also, as there are 2 distinct states pending and running, I assume that this rules out my code, as a pending state indicates it is not even running yet. Also my code is working normally when it is actually run by the system.
Attn Microsoft people, I have an example that i can share with you (upon request), which was started yesterday at 2023-08-22T08:27:45Z and is still pending.
I restarted my feeder, console app, this morning as it was stuck pending all night. So far I have been running the durable functions for 30 mins or so this morning and so far I have not encountered the issue again.
runtimeStatus | "Pending" |
---|---|
Azure Functions
2 answers
Sort by: Most helpful
-
-
navba-MSFT 27,545 Reputation points Microsoft Employee Moderator
2023-08-28T07:39:02.28+00:00 @Matthew I'm glad to see you were able to resolve your issue. Thanks for posting your solution so that others experiencing the same thing can easily reference this.
Since the Microsoft Q&A community has a policy that the question author cannot accept their own answer, they can only accept answers by others, I'll repost your solution in case you'd like to Accept the answer.
Issue:
Durable functions are getting stuck in the pending status indefinitely.Resolution:
Updating the
Microsoft.Azure.WebJobs.Extensions.DurableTask
from 2.1.1 to 2.10.0 and that has resolved the issue.