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

workload/schemachange: add unique constraint hits duplicate key errors #130361

Merged
merged 1 commit into from
Sep 10, 2024

Conversation

fqazi
Copy link
Collaborator

@fqazi fqazi commented Sep 9, 2024

Previously, the ALTER TABLE ADD UNIQUE CONSTRAINT operation could encounter duplicate key errors. This would occur because our scan query was not exhaustive enough. To address this and to help stabilize the workload, we will allow unique violations to be potential commit errors.

Fixes: #129909

Release note: None

Previously, the ALTER TABLE ADD UNIQUE CONSTRAINT operation could
encounter duplicate key errors. This would occur because our scan query
was not exhaustive enough. To address this and to help stabilize the
workload, we will allow unique violations to be potential commit errors.

Fixes: cockroachdb#129909

Release note: None
@fqazi fqazi requested a review from a team September 9, 2024 21:29
@fqazi fqazi requested a review from a team as a code owner September 9, 2024 21:29
@fqazi fqazi requested review from herkolategan and renatolabs and removed request for a team September 9, 2024 21:29
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Contributor

@spilchen spilchen left a comment

Choose a reason for hiding this comment

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

:lgtm:

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

@fqazi
Copy link
Collaborator Author

fqazi commented Sep 10, 2024

@spilchen TFTR!

bors r+

@craig craig bot merged commit 1e9b4bc into cockroachdb:master Sep 10, 2024
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants