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.
TransferQueueProcessor can skip transfer tasks (cadence-workflow#151)
TransferQueueProcessor uses Quorum level consistency to read tasks. These reads are not isolated from in-flight LWT transactions running in Cassandra, which could lead the read to observe partial results. This can lead to tasks being skipped. We can use Serial level consistency to deal with this but it is not supported at the moment by the gocql client, and it might cause reads to be too expensive. Instead, we'll use a MaxReadLevel to make sure that the read requests from TransferQueueProcessor do not attempt to read the results of LWT writes that are still in flight. Issue cadence-workflow#150
- Loading branch information
Tamer Eldeeb
authored
Apr 25, 2017
1 parent
143d2fc
commit f983701
Showing
7 changed files
with
43 additions
and
11 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
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