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

sql: add tests for concurrent add/drop region operations #62826

Merged
merged 1 commit into from
Apr 2, 2021

Commits on Apr 1, 2021

  1. sql: add tests for concurrent add/drop region operations

    This patch generalizes the setup in what was previously
    `TestConcurrentDropRegion` and extends it to all combinations of
    add/drop region on a multi-region database. The only change is that
    I've added a regional by row table into the test setup mixer, so as to
    excercise the repartitioning semantics.
    
    Previously, there was a limitation with concurrent add/drop regions
    where both the operations were bound to fail in the repartitioning
    phase. This limitation was fixed in cockroachdb#60620, but we never had a
    regression test for it. Adding a regional by row table during the
    test setup serves as one.
    
    Closes cockroachdb#62813
    
    Release note: None
    arulajmani committed Apr 1, 2021
    Configuration menu
    Copy the full SHA
    d83b25c View commit details
    Browse the repository at this point in the history