forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
roachpb: consider txn epochs in Transaction.Update
Previously, Transaction.Update was pretty loose about which fields it updated given a receiver and an argument with different epochs. This relied on a number of assumptions about how these fields could change between epochs. This commit tightens this up by making this all more explicit. It also adds in some log warnings around calls to Update that we don't expect to see in practice. Release note: None
- Loading branch information
1 parent
9e76362
commit aed892a
Showing
2 changed files
with
135 additions
and
32 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