-
Notifications
You must be signed in to change notification settings - Fork 869
Open
Labels
Description
Currently, decision task handling logic does not do optimization on cases such as
- schedule a child workflow
- cancel external workflow (pointing to the above child workflow)
the above can end up with: first trying to cancel the child workflow (which is yet been started), then schedule the child workflow since task processing is parallel.
similar case applies to:
- child workflow creation & signal / cancellation
- activity creation & cancellation
- user timer creation & cancellation
we should have whole decision batch optimization logic handling this.