Skip to content

schemachanger: remove regional-by-row fallback for CREATE INDEX#139622

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
rafiss:rbr-create-index
Mar 19, 2025
Merged

schemachanger: remove regional-by-row fallback for CREATE INDEX#139622
craig[bot] merged 1 commit intocockroachdb:masterfrom
rafiss:rbr-create-index

Conversation

@rafiss
Copy link
Copy Markdown
Collaborator

@rafiss rafiss commented Jan 23, 2025

This is easy to support, since all the required functionality was added
when we added support for regional-by-row tables for ADD/DROP COLUMN.

Epic: CRDB-31329
Release note: None

@blathers-crl
Copy link
Copy Markdown

blathers-crl bot commented Jan 23, 2025

It looks like your PR touches production code but doesn't add or edit any test code. Did you consider adding tests to your PR?

🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

@rafiss rafiss force-pushed the rbr-create-index branch from ff71858 to 472a0d8 Compare March 15, 2025 18:55
@blathers-crl
Copy link
Copy Markdown

blathers-crl bot commented Mar 15, 2025

Your pull request contains more than 1000 changes. It is strongly encouraged to split big PRs into smaller chunks.

🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

@rafiss rafiss force-pushed the rbr-create-index branch 3 times, most recently from 9d34dc5 to 857bf2b Compare March 19, 2025 04:25
@rafiss rafiss changed the title schemachanger: remove RBR fallback for CREATE INDEX schemachanger: remove regional-by-row fallback for CREATE INDEX Mar 19, 2025
@rafiss rafiss marked this pull request as ready for review March 19, 2025 16:05
@rafiss rafiss requested a review from a team as a code owner March 19, 2025 16:05
@rafiss rafiss requested a review from fqazi March 19, 2025 16:06
Copy link
Copy Markdown
Collaborator

@fqazi fqazi left a comment

Choose a reason for hiding this comment

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

Nice! Just one suggestion for DML injection :lgtm:

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


pkg/ccl/schemachangerccl/testdata/end_to_end/create_index_regional_by_row/create_index_regional_by_row.definition line 9 at r1 (raw file):

----

stage-exec phase=PostCommitPhase stage=:

We probably also want inserts on the non-reveritble part of the plan

This is easy to support, since all the required functionality was added
when we added support for regional-by-row tables for ADD/DROP COLUMN.

Release note: None
@rafiss rafiss force-pushed the rbr-create-index branch from 857bf2b to 7e07a71 Compare March 19, 2025 21:42
Copy link
Copy Markdown
Collaborator Author

@rafiss rafiss left a comment

Choose a reason for hiding this comment

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

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


pkg/ccl/schemachangerccl/testdata/end_to_end/create_index_regional_by_row/create_index_regional_by_row.definition line 9 at r1 (raw file):

Previously, fqazi (Faizan Qazi) wrote…

We probably also want inserts on the non-reveritble part of the plan

Done.

@rafiss
Copy link
Copy Markdown
Collaborator Author

rafiss commented Mar 19, 2025

tftr!

bors r+

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Mar 19, 2025

@craig craig bot merged commit 20b5ab8 into cockroachdb:master Mar 19, 2025
23 of 24 checks passed
@rafiss rafiss deleted the rbr-create-index branch March 20, 2025 17:15
annrpom added a commit to annrpom/cockroach that referenced this pull request Mar 26, 2025
The end to end tests with DML injections we added
in cockroachdb#140617, cockroachdb#139622, cockroachdb#142921 are sufficient.

Epic: none
Fixes: cockroachdb#136846

Release note: None
craig bot pushed a commit that referenced this pull request Mar 27, 2025
143545: testutilsccl: only test legacy in AlterPrimaryKeyCorrectZoneConfigTest r=annrpom a=annrpom

The end to end tests with DML injections we added
in #140617, #139622, #142921 are sufficient.

Epic: none
Fixes: #136846

Release note: None

Co-authored-by: Annie Pompa <annie@cockroachlabs.com>
spilchen pushed a commit to spilchen/cockroach that referenced this pull request Mar 27, 2025
The end to end tests with DML injections we added
in cockroachdb#140617, cockroachdb#139622, cockroachdb#142921 are sufficient.

Epic: none
Fixes: cockroachdb#136846

Release note: None
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants