forked from cadence-workflow/cadence
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Timer Processor to checkpoint ack level (cadence-workflow#233)
* Scheme change to persist timer Ack level. * Shard Context to allocate sequence numbers for timer task ID * Timer Q Processor to maintain ack level. * Update History Engine. * Update ShardContext, Remove timer sequence number. * Checkpoint timestamp up to which timer tasks are processed. * TimerIDs never go below checkpoint ack level. * Logs and fixes. * Remove un-used variables. * go format. * Add unit test for shardContext.TimerAckLevel * rename updateShardInfo -> updateShardInfoLocked * remove shardContext from timerBuilder. * linting. * Add visibility_timestamp to executions schema * Update schema to add visibility_ts * rename visibility_ts * Timer q processor to use timestamp, sequence. * Notify new timer doesn't query until it is current. * linting. * Fix timer mock test. * move Get/Set Visibility Time out of task to server methods. * Move to use mock timer. * linting. * Fix the quick pending timer level. * Adjust batch size.
- Loading branch information
Showing
19 changed files
with
784 additions
and
448 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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.