-
Notifications
You must be signed in to change notification settings - Fork 272
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
Simple long running task finishes but status continues to return 'Running' #2972
Comments
A few questions:
|
Thanks for responding Chris. Yes, in this case ADF is Azure Data Factory. Here is the relevant code you asked for. Pretty vanilla and taken straight from the sample:
I am running this in South Central US and here is an instance id: d48accb6e91344f6a16606d642cccec4 |
Sorry Chris, here is the activity code as well:
|
Hmm...yeah, everything looks good from a code perspective. I wonder if something else is afoot. Have you had a look through the Durable Functions troubleshooting guide? https://learn.microsoft.com/en-us/azure/azure-functions/durable/durable-functions-troubleshooting-guide. There is some automated analysis that might be able to help root cause the problem. Take a look at the suggestions in the guide and respond back if you're still stuck. |
Thanks Chris, following your link, specifically the section Orchestration doesn't complete / is stuck in the Running state, and nothing is indicating an issue. I did deploy this to another client's azure account and that pipeline is doing the same thing. I am going to write a python script to accomplish this task in order to isolate if this is an issue with Data Factory. If so, I will open a ticket with that team. I will keep you posted. Thanks, |
I have a fairly simple process we are using durable functions for. We read in a json file and flatten the inner arrays per a specification and write a new file back to blob storage. Just one activity. What I have noticed when calling this from ADF, is that the file gets written, which is the last line of the task before the return, and the function will continue to return the status of 'Running' for quite a while after. This function does NOT return a large payload, it returns this:
return { "status": "Success", "message": f"Successfully unnested array. File created at {container_name}{blob_name}" }
As an example, here are the timestamps when the function finally returned 'Completed':
The file was written at 2024-11-21T20:26:00Z. My ADF pipeline sleeps for 30 seconds and checks the status again. Why would the function continue for 30 minutes after the actual task was complete?
Thanks,
Scott
The text was updated successfully, but these errors were encountered: