Skip to content

Revert "kvstreamer: reuse incomplete Get requests on resume batches"#84143

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
yuzefovich:revert-83684
Jul 11, 2022
Merged

Revert "kvstreamer: reuse incomplete Get requests on resume batches"#84143
craig[bot] merged 1 commit intocockroachdb:masterfrom
yuzefovich:revert-83684

Conversation

@yuzefovich
Copy link
Copy Markdown
Member

This reverts commit 21f2390.

Previously, I didn't realize that the KV layer would modify all requests
included into the BatchRequest in txnSeqNumAllocator, so we cannot
reuse even incomplete GetRequests. It is unfortunate, but not a big
deal.

Fixes: #83974.

Release note: None

@yuzefovich yuzefovich requested review from a team and michae2 July 9, 2022 17:10
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

This reverts commit 21f2390.

Previously, I didn't realize that the KV layer would modify all requests
included into the BatchRequest in `txnSeqNumAllocator`, so we cannot
reuse even incomplete GetRequests. It is unfortunate, but not a big
deal.

Release note: None
Copy link
Copy Markdown
Collaborator

@michae2 michae2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Oh well, good try. 🙂

Reviewed 1 of 1 files at r1, all commit messages.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @yuzefovich)

@yuzefovich
Copy link
Copy Markdown
Member Author

TFTR!

bors r+

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Jul 11, 2022

Build succeeded:

@craig craig bot merged commit 10853d2 into cockroachdb:master Jul 11, 2022
@yuzefovich yuzefovich deleted the revert-83684 branch July 11, 2022 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

kv/kvclient/kvstreamer: TestLargeKeys failed

3 participants