-
Notifications
You must be signed in to change notification settings - Fork 812
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor workflow execution context & mutable state (#2221)
* Remove redundant append first event batch APIs * Remove mutableStateSessionUpdates in favor of WorkflowSnapshot & WorkflowMutation * Move force fail decision for failover / buffered events size limit into CloseTransactionAsMutation & CloseTransactionAsSnapshot * Mutable state will now keep track of all transfer / timer tasks by AddTransferTasks & AddTimerTasks * Remove the requirement for transactionID from shard when create / update workflow * Remove special handling of LimitExceededError since buffered events size limit is handled before close transaction
- Loading branch information
Showing
33 changed files
with
1,349 additions
and
1,596 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.