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

asim: fix uniqueness invariant on adding ranges #81144

Merged
merged 1 commit into from
May 17, 2022

Conversation

kvoli
Copy link
Collaborator

@kvoli kvoli commented May 9, 2022

Previously adding a new range would be not hold the invariant that
minKey [minKey,endKey) must be unique. This patch updates the assertion
and adds testing for this invariant.

Release note: None

@kvoli kvoli requested a review from a team as a code owner May 9, 2022 14:09
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@kvoli kvoli self-assigned this May 9, 2022
@kvoli kvoli requested a review from lidorcarmel May 9, 2022 14:10
Copy link
Contributor

@lidorcarmel lidorcarmel left a comment

Choose a reason for hiding this comment

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

thanks!

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

Previously adding a new range would be not hold the invariant that
minKey [minKey,endKey) must be unique. This patch updates the assertion
and adds testing for this invariant.

Release note: None
@kvoli kvoli force-pushed the 220509.asim-range-eq branch from cf46f1d to 8b7d65b Compare May 17, 2022 14:22
Copy link
Collaborator Author

@kvoli kvoli left a comment

Choose a reason for hiding this comment

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

TYFTR!

Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (waiting on @kvoli)

@kvoli
Copy link
Collaborator Author

kvoli commented May 17, 2022

bors r+

@craig
Copy link
Contributor

craig bot commented May 17, 2022

Build succeeded:

@craig craig bot merged commit 05396b3 into cockroachdb:master May 17, 2022
@kvoli kvoli added the A-kv-simulation Relating to allocation simulation. label Jun 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-kv-simulation Relating to allocation simulation.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants