Open anthonychu opened 4 years ago
I'm curious if this results in a non-determinism error in C#. From my knowledge, we would only throw an error in C# if the different timer execution results in us to attempt to make future durable calls in a different order.
We could definitely add some checks on the Durable JS side of things to see if the timer wakeup time on replay is the same as the originally scheduled time.
I always thought that if the inputs to callActivity and createTimer during replay don't match the inputs in the original call, it's a non-deterministic error. Maybe that's not the case.
In any event, this is failing silently and should probably be fixed.
Describe the bug When non-deterministic code in an orchestrator is encountered during replay, no error message is displayed, the replay fails silently, and the orchestrator stays in a running state.
Investigative information
To Reproduce Steps to reproduce the behavior:
http://localhost:7071/api/orchestrators/BadTimer
.new Date()
so it should fail with a non-deterministic error.@ConnorMcMahon @cgillum
/cc @christiannwamba this is the problem you ran into this weekend.