-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kv: fix GenerateForcedRetryableError to return a bumped epoch
This is needed for PR #74563, where we change how txn is reset. Without this change GenerateForcedRetryableError returns an error with an inner txn that has an epoch 0. With this change the epoch is copied from the original txn. Release note: None
- Loading branch information
1 parent
419167d
commit 304c548
Showing
2 changed files
with
17 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