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/catalog/lease: revert fallback change and fallback also when doing by-id lookups #61493

Merged
merged 2 commits into from
Mar 9, 2021

Conversation

ajwerner
Copy link
Contributor

@ajwerner ajwerner commented Mar 4, 2021

This PR reverts #59606 and then adds the parallel fallback logic to the ByID resolution path. It was uncovered by the schema change workload. In particular, we were missing out on the ability to do AS OF SYSTEM TIME reads on dropped schemas or types after they had been fully dropped.

Fixes #57487.

Release justification: bug fixes and low-risk updates to new functionality

Release note: None

@ajwerner ajwerner requested review from postamar and a team March 4, 2021 19:08
@cockroach-teamcity
Copy link
Member

This change is Reviewable

ajwerner added 2 commits March 8, 2021 22:21
…ptors"

This reverts commit e3f09d5.

Release justification:
Release note (<category, see below>): <what> <show> <why>
…riptor

This fallback is potentially expensive but it turns out to be crucial.
I'm somewhat sad about it but this is a pretty bad bug that very much
breaks the schemachange workload.

Release justification: bug fixes and low-risk updates to new functionality

Release note: None
@ajwerner ajwerner force-pushed the ajwerner/fix-leasing-things branch from 69e6af3 to f09203f Compare March 9, 2021 03:22
Copy link
Contributor Author

@ajwerner ajwerner left a comment

Choose a reason for hiding this comment

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

bors r+

Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained

@craig
Copy link
Contributor

craig bot commented Mar 9, 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.

sql: descriptor is being dropped (SQLSTATE XXUUU)
3 participants