Open bhugot opened 8 months ago
@bhugot did you make any changes to your orchestrator code between the time it started and the time you upgraded to the v1.2.2 package? This exception normally happens when non-backwards compatible code changes are made that cause the existing history in the DB to no longer match the code.
Nope I did not that's why I posted this here :)
Just to confirm, is SharedOperationsFunctions_CheckOperationStatus
the first task that gets scheduled in your orchestration?
Yes it is
Hello,
We met this following error since Microsoft.DurableTask.SqlServer.AzureFunctions 1.2.2 :
Non-Deterministic workflow detected: A previous execution of this orchestration scheduled an activity task with sequence ID 0 and name 'SharedOperationsFunctions_CheckOperationStatus' (version ''), but the current replay execution hasn't (yet?) scheduled this task. Was a change made to the orchestrator code after this instance had already started running?
Note that we also use "Microsoft.Data.SqlClient" Version="5.2.0"
Another rewind seems to fix it