Comments (9)
Unfortunately, no updates yet. I was on a long vacation and apparently our GitHub automation which is supposed to help us track issues stopped working in the past few months. I'll make sure that this shows up in our triage so that we can get someone assigned to take a closer look.
from durabletask-mssql.
@bhugot: I'm working on a fix for this issue here - Azure/durabletask#949
from durabletask-mssql.
This means that multiple "completion" events have been found in your orchestration history state. The code that raises this error is here. You can see the full set of events here. The "completion" events are ExecutionCompleted
and ExecutionTerminated
.
To understand why you're seeing this, we'd need to look at the union of your History
and NewEvents
tables, filtered by your orchestration instance ID, to see whether/why there are multiple completion events for your orchestration that are triggering this error.
from durabletask-mssql.
Here are some data
from durabletask-mssql.
And I compared to an equivalent sucessfully completed orchestration. We have exactly the same history It's look like the event is registered but not deleted
from durabletask-mssql.
@cgillum any news on this?
from durabletask-mssql.
For information I think the use case is a functions for some reason is running twice (no retry configured). In the 2 case i met one was not idempotent and the second run failed. In the other case it was idempotent so both were successful
from durabletask-mssql.
New error on same subject I got
TaskOrchestrationDispatcher-b8699d665c904134b8e019ba498238dc-0: Unhandled exception with work item '413826bf-e213-4cca-a67a-77c495889fbe': System.InvalidCastException: Unable to cast object of type 'DurableTask.Core.History.TaskCompletedEvent' to type 'DurableTask.Core.History.TaskScheduledEvent'.
at DurableTask.Core.TaskOrchestrationDispatcher.ReconcileMessagesWithState(TaskOrchestrationWorkItem workItem) in /_/src/DurableTask.Core/TaskOrchestrationDispatcher.cs:line 837
at DurableTask.Core.TaskOrchestrationDispatcher.OnProcessWorkItemAsync(TaskOrchestrationWorkItem workItem) in /_/src/DurableTask.Core/TaskOrchestrationDispatcher.cs:line 328
at DurableTask.Core.TaskOrchestrationDispatcher.OnProcessWorkItemAsync(TaskOrchestrationWorkItem workItem)
at DurableTask.Core.TaskOrchestrationDispatcher.OnProcessWorkItemSessionAsync(TaskOrchestrationWorkItem workItem) in /_/src/DurableTask.Core/TaskOrchestrationDispatcher.cs:line 194
at DurableTask.Core.WorkItemDispatcher`1.ProcessWorkItemAsync(WorkItemDispatcherContext context, Object workItemObj) in /_/src/DurableTask.Core/WorkItemDispatcher.cs:line 373
Backing off for 1 seconds until 5 successful operations
from durabletask-mssql.
And this time I had 2 task who are sequential in TaskCompleted Status
from durabletask-mssql.
Related Issues (20)
- Exception is not propagated to parent orchestration as expected HOT 5
- Explicit taskHub parameter for stored procedures HOT 4
- Payloads as varchar and charset of payloads HOT 7
- Always encrypted support HOT 6
- Managed identity SQL auth problems (schema creation, new instance events) HOT 4
- Fully scripted deployment not easy with the dt_rutime role added at runtime HOT 4
- Pagination become slow when alot of orchestration HOT 1
- Configurable minimum for backoff retry for polling interval HOT 1
- chatty azure insights traces HOT 3
- Add AzFunctions' Scale Controller support for managed identity HOT 1
- Feedback KEDA HOT 2
- Terminate Pending orchestration HOT 1
- Prevent termination of pods with long-running functions using KEDA HOT 2
- Incorrect Calculation of GetRecommendedScale due to UTC/Local Time formats in tables HOT 4
- SqlUtils doesn't support suspending HOT 4
- Azure SQL transient error HOT 3
- Lost Events HOT 10
- await operator on non-OrchestrationContext tasks leaves Instance in perpetual running state HOT 2
- Instance ID should be 256 char HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from durabletask-mssql.