Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

batcheval: fix empty-span fast-path in AddSSTable collision check #41194

Merged
merged 1 commit into from
Sep 30, 2019

Conversation

dt
Copy link
Member

@dt dt commented Sep 30, 2019

Given that the iterator has an upper-bound, it should simply be invalid after seeking past the span if empty.

Release note: none.

Release justification: small, low-risk fix for bug in new code that made it slower than expected.

Given that the iterator has an upper-bound, it should simply be invalid after seeking past the span if empty.

Release note: none.

Release justification: small, low-risk fix for bug in new code that made it slower than expected.
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Collaborator

@petermattis petermattis left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @danhhz and @nvanbenschoten)

@dt
Copy link
Member Author

dt commented Sep 30, 2019

bors r+

@dt
Copy link
Member Author

dt commented Sep 30, 2019

TFTRs!

craig bot pushed a commit that referenced this pull request Sep 30, 2019
41194: batcheval: fix empty-span fast-path in AddSSTable collision check r=dt a=dt

Given that the iterator has an upper-bound, it should simply be invalid after seeking past the span if empty.

Release note: none.

Release justification: small, low-risk fix for bug in new code that made it slower than expected.

Co-authored-by: David Taylor <[email protected]>
@craig
Copy link
Contributor

craig bot commented Sep 30, 2019

Build succeeded

@craig craig bot merged commit 851c104 into cockroachdb:master Sep 30, 2019
@dt dt deleted the fast-path-fix branch September 30, 2019 16:20
@knz knz mentioned this pull request Oct 2, 2019
18 tasks
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.

4 participants