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.
Support for renewing RangeID for shard and life-cycle
Summary: Persistence API changes to return ShardOwnershipLostError when conditional update fails due to RangeID. ShardController exposes a shardClosedCh to manage cleanup of shards when shard ownership lost is detected. ShardContext manages the close handling and writes to shardClosedCh when it sees ShardOwnershipLostError. TransferQueueProcessor calls update API even if there are no changes to trigger Shard closure if ownership is lost. Reviewers: sivakk, tamer, maxim Reviewed By: tamer, maxim Subscribers: jenkins, aravindv, venkat Differential Revision: https://code.uberinternal.com/D736505
- Loading branch information
1 parent
4b68ab7
commit 0daa276
Showing
17 changed files
with
844 additions
and
143 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
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.