-
Notifications
You must be signed in to change notification settings - Fork 7
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
Eternal Functions not working as expected in Function Runtime Version: 4 #138
Comments
The same works fine on the below functions runtime version :
|
thanks @kanupriya15025 for reporting this. We'll look into it |
@kaibocai @lilyjma I tried this fix with updating my pom.xml with updating the following But this doesn't fix the issue. I still see my orchestrator failing with error : java.lang.RuntimeException: Unexpected failure in the task execution The same code works fine with updating the Runtime Version back to ~3. Can we look at this? |
@kanupriya15025 , I cannot reproduce your issue on my side with version 1.1.1 My function is the same as yours: As you can see host version is 4.21.1 and SDK version is 1.1.1. I think you may not have the right setup on your local. As I said in the last meeting, azure function runtime v3 doesn't even support durable function java. It's only supported on v4 runtime. I am getting below errors with the basic orchestration sample when running on v3 So I was wondering how you were able to run durable function java on v3 function runtime. |
@kaibocai My bad..I wasn't testing it right. It works fine now. However, this breaks the suspend orchestration functionality now. I'll raise a separate bug for that. |
I was trying out the below example on my local machine with the following conf:
Core Tools Version: 4.0.5198 Commit hash: N/A (64-bit)
Function Runtime Version: 4.21.1.20667
https://learn.microsoft.com/en-us/azure/azure-functions/durable/durable-functions-eternal-orchestrations?tabs=java#periodic-work-example
This is the tweaked version of the function I ran :
I doesn't work anymore with the upgrade to Function Runtime Version 4.21. This is the error I get before the second time timer starts in the loop :
The text was updated successfully, but these errors were encountered: