Skip to content

kv: clean up BatchRequest.IsLeaseRequest#82798

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
nvb:nvanbenschoten/singleLeaseReq
Jun 21, 2022
Merged

kv: clean up BatchRequest.IsLeaseRequest#82798
craig[bot] merged 1 commit intocockroachdb:masterfrom
nvb:nvanbenschoten/singleLeaseReq

Conversation

@nvb
Copy link
Copy Markdown
Contributor

@nvb nvb commented Jun 12, 2022

Commit pulled from #82758.

This commit cleans up BatchRequest.IsLeaseRequest by replacing its internals with a call to isSingleRequestWithMethod(RequestLease) and renaming it to mirror the rest of the BatchRequest.IsSingleXYZRequest methods.

This commit cleans up `BatchRequest.IsLeaseRequest` by replacing its
internals with a call to `isSingleRequestWithMethod(RequestLease)` and
renaming it to mirror the rest of the `BatchRequest.IsSingleXYZRequest`
methods.
@nvb nvb requested a review from arulajmani June 12, 2022 15:58
@nvb nvb requested a review from a team as a code owner June 12, 2022 15:58
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

Copy link
Copy Markdown
Collaborator

@arulajmani arulajmani left a comment

Choose a reason for hiding this comment

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

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

@nvb
Copy link
Copy Markdown
Contributor Author

nvb commented Jun 21, 2022

TFTR!

bors r+

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Jun 21, 2022

Build succeeded:

@craig craig bot merged commit 4ee236c into cockroachdb:master Jun 21, 2022
@nvb nvb deleted the nvanbenschoten/singleLeaseReq branch June 21, 2022 21:28
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.

3 participants