Skip to content

release-26.1: workload/schemachange: don't predict deps on DROP COLUMN#170002

Open
spilchen wants to merge 1 commit into
cockroachdb:release-26.1from
spilchen:backport26.1-169328
Open

release-26.1: workload/schemachange: don't predict deps on DROP COLUMN#170002
spilchen wants to merge 1 commit into
cockroachdb:release-26.1from
spilchen:backport26.1-169328

Conversation

@spilchen
Copy link
Copy Markdown
Contributor

@spilchen spilchen commented May 8, 2026

Backport 1/1 commits from #169328.

/cc @cockroachdb/release


The schemachange workload tried to predict precisely when DROP COLUMN would fail with DependentObjectsStillExist. Keeping that prediction in sync with the schema changer has been a steady source of flakes.

Move the error to potentialExecErrors so it is permitted but not required, and delete the dependency-detection helpers that fed the old prediction.

Resolves #168658

Release note: None
Epic: none

Release justification: test only fix

The schemachange workload tried to predict precisely when DROP COLUMN
would fail with DependentObjectsStillExist. Keeping that prediction
in sync with the schema changer has been a steady source of flakes.

Move the error to potentialExecErrors so it is permitted but not
required, and delete the dependency-detection helpers that fed the
old prediction.

Resolves cockroachdb#168658

Release note: None
Epic: none
@spilchen spilchen self-assigned this May 8, 2026
@spilchen spilchen requested a review from a team as a code owner May 8, 2026 20:11
@spilchen spilchen requested review from cpj2195 and shailendra-patel and removed request for a team May 8, 2026 20:11
@blathers-crl
Copy link
Copy Markdown

blathers-crl Bot commented May 8, 2026

Thanks for opening a backport.

Before merging, please confirm that the change does not break backwards compatibility and otherwise complies with the backport policy. Include a brief release justification in the PR description explaining why the backport is appropriate. All backports must be reviewed by the TL for the owning area. While the stricter LTS policy does not yet apply, please exercise judgment and consider gating non-critical changes behind a disabled-by-default feature flag when appropriate.

@trunk-io
Copy link
Copy Markdown
Contributor

trunk-io Bot commented May 8, 2026

Merging to release-26.1 in this repository is managed by Trunk.

  • To merge this pull request, check the box to the left or comment /trunk merge below.

After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here

@blathers-crl blathers-crl Bot added backport Label PR's that are backports to older release branches T-sql-foundations SQL Foundations Team (formerly SQL Schema + SQL Sessions) labels May 8, 2026
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

@blathers-crl blathers-crl Bot added the backport-test-only Used to denote the backport has only non-production changes label May 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport Label PR's that are backports to older release branches backport-test-only Used to denote the backport has only non-production changes T-sql-foundations SQL Foundations Team (formerly SQL Schema + SQL Sessions)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants