Skip to content

inspect: remove complex key configurability#169768

Open
bghal wants to merge 1 commit intocockroachdb:masterfrom
bghal:inspect-remove-complex-key-configurability
Open

inspect: remove complex key configurability#169768
bghal wants to merge 1 commit intocockroachdb:masterfrom
bghal:inspect-remove-complex-key-configurability

Conversation

@bghal
Copy link
Copy Markdown
Contributor

@bghal bghal commented May 5, 2026

Nightly testing has established that the complex key uniqueness check
is cheaper than the simple keys so this defensive configuration is
cleaned up.

See also: #164948

Epic: CRDB-58692

Part of: #154551

Release note: None

Nightly testing has established that the complex key uniqueness check
is cheaper than the simple keys so this defensive configuration is
cleaned up.

See also: cockroachdb#164948

Epic: CRDB-58692

Part of: cockroachdb#154551

Release note: None
@bghal bghal requested a review from a team as a code owner May 5, 2026 20:13
@bghal bghal requested review from michae2 and removed request for a team May 5, 2026 20:13
@trunk-io
Copy link
Copy Markdown
Contributor

trunk-io Bot commented May 5, 2026

Merging to master 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

@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

@bghal bghal requested review from a team and spilchen May 5, 2026 20:29
@blathers-crl
Copy link
Copy Markdown

blathers-crl Bot commented May 5, 2026

Detected infrastructure failure (matched: self-hosted runner lost communication with the server). Automatically rerunning failed jobs. (run link)

Copy link
Copy Markdown
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: just had a minor nit

@spilchen made 2 comments.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on bghal and michae2).


pkg/sql/inspect/uniqueness_check.go line 31 at r1 (raw file):

)

var uniquenessCheckComplexKeysEnabled = settings.RegisterBoolSetting(

nit: we should retire this cluster setting rather than just remove it (see retiredSettings)

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants