Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
The following execution order will cause an invalid state transition in the TaskRuntime:
1. Task completes, state not yet changed.
2. Close ContextRuntime, finds out task's CloseHandler not bound, throw an Exception, but Exception has not yet propagated upwards to change state to Failed.
3. Task changes state to Done.
4. Exception propagates upwards, state changed to Failed. Inconsistent state transition.
Attachments
Issue Links
- links to