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: include invalid type descriptors in crdb_internal.invalid_objects #59978

Merged
merged 1 commit into from
Feb 8, 2021

Conversation

arulajmani
Copy link
Collaborator

Previously, crdb_internal.invalid_objects only validated table
descriptors. This patch adds type descriptors to the list of objects
that are validated. As this table is used to validate all descriptors
after logic tests run, going forward, validation inconsistencies will be
checked for and reported after logic test runs.

Release note (sql change): crdb_internal.invalid_objects also
includes invalid type descriptors.

Previously, `crdb_internal.invalid_objects` only validated table
descriptors. This patch adds type descriptors to the list of objects
that are validated. As this table is used to validate all descriptors
after logic tests run, going forward, validation inconsistencies will be
checked for and reported after logic test runs.

Release note (sql change): `crdb_internal.invalid_objects` also
includes invalid type descriptors.
@arulajmani arulajmani requested review from ajwerner, otan and a team February 8, 2021 02:55
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Contributor

@otan otan left a comment

Choose a reason for hiding this comment

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

too bad we can't add a test

@arulajmani
Copy link
Collaborator Author

TFTR!

bors r=otan

@craig
Copy link
Contributor

craig bot commented Feb 8, 2021

Build succeeded:

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