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/schemachanger: ignore unique violation errors for CREATE INDEX #130351

Merged
merged 1 commit into from
Sep 9, 2024

Commits on Sep 9, 2024

  1. workload/schemachanger: ignore unique violation errors for CREATE INDEX

    Previously, the schema changer workload added logic to ignore potential
    unique violation errors during CREATE UNIQUE INDEX. This logic was for
    the statement phase, which is not when this error would be noticed, so
    it did not work correctly. To address this, this patch adds the logic to
    make unique violations error as  potential commit error for CREATE
    INDEX.
    
    Fixes: cockroachdb#129366
    
    Release note: None
    fqazi committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    fb7a8e8 View commit details
    Browse the repository at this point in the history