-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce a BeginTransaction request.
BeginTransactionRequest is automatically inserted by the KV client immediately before the first transactional write. On execution, BeginTransaction creates the transaction record. If a heartbeat arrives for a txn that has no transaction record, it's ignored. If a push txn arrives for a txn that has no transaction record, the txn is considered aborted. This solves the problem of errant heartbeats or pushes recreating a GC'd transaction record, addressing #2062.
- Loading branch information
1 parent
4ed6a45
commit 50d25e1
Showing
22 changed files
with
3,356 additions
and
1,635 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
Oops, something went wrong.