forked from cockroachdb/cockroach
-
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.
kv: collect and propogate all transaction state in DistSender on error
Fixes “Bug 2” from cockroachdb#36089 (comment). This commit fixes the bug described in the referenced issue where part of a transaction proto update was lost when combining partial batches with some successes and some failures. This was leading to a state where a transaction restarted with a read timestamp below its maximum write timestamp from the previous epoch. Fixing this bug resolves the current issue in cockroachdb#36089. Release note: None
- Loading branch information
1 parent
a0a6db3
commit 8b5bafb
Showing
2 changed files
with
44 additions
and
29 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