microsoft / durabletask-java

Java SDK for Durable Functions and the Durable Task Framework
MIT License
14 stars 7 forks source link

Orchestrator Function on Suspend and Resume if it already has an activity running #155

Closed kanupriya15025 closed 10 months ago

kanupriya15025 commented 1 year ago

I have an orchestrator instance which spins up two activities in sequence. I suspended that instance, the status of the orchestrator function shows suspended on both API and Storage Table. However, I get flooded with log lines from the Activity Functions. If I also see the History Table on Storage Account, the table is flooded with entries of this orchestrator instance as below.

If I try to again resume the instance, I get an error :
WARNING: The orchestrator failed with an unhandled exception: java.lang.RuntimeException: Unexpected failure in the task execution and the orchestrator instance dies. I am using durabletask-azure-functions version 1.2.0

Here's the screenshot of Instance Table

Screenshot 2023-07-20 at 5 45 48 PM

Here's the screenshot of the History Table :

Screenshot 2023-07-20 at 5 46 37 PM
kaibocai commented 1 year ago

Hi @kanupriya15025, can you provide a simple code snippet to repro this issue, it will be very helpful for us to investigate with the repro. Thanks.

microsoft-github-policy-service[bot] commented 10 months ago

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.