-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
clusterversion,sql,backupccl: remove PublicSchemasWithDescriptors #85825
clusterversion,sql,backupccl: remove PublicSchemasWithDescriptors #85825
Conversation
c3050df
to
8d1bdb4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for doing this. @RichardJCai can you take a look also if you have time, please ? In particular, should anything be done to the backup tests or is it safe to outright remove these such as has been done? I think it's OK, but still.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Only thing from me is I'd like to keep the cleanup on fail backup test. Other than that LGTM
Reviewed 17 of 19 files at r1, all commit messages.
Reviewable status: complete! 0 of 0 LGTMs obtained (waiting on @celiala, @postamar, and @RichardJCai)
pkg/ccl/backupccl/restore_old_versions_test.go
line 1104 at r1 (raw file):
Server: &server.TestingKnobs{ DisableAutomaticVersionUpgrade: make(chan struct{}), BinaryVersionOverride: clusterversion.ByKey(clusterversion.PublicSchemasWithDescriptors - 1),
I'd like to keep this test, I think other ones can go, I think this test will still pass if we remove the BinaryVersionOverride
8d1bdb4
to
2521803
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TFTRs!
Only thing from me is I'd like to keep the cleanup on fail backup test.
Ack:
- left tests in
restore_old_versions_test.go
- updated comments
I'll go ahead and merge once gets pass.
Reviewable status: complete! 0 of 0 LGTMs obtained (waiting on @postamar and @RichardJCai)
pkg/ccl/backupccl/restore_old_versions_test.go
line 1104 at r1 (raw file):
Ack.
if we remove the BinaryVersionOverride
I wasn't clear what to do for this?
But for now I've replaced PublicSchemasWithDescriptors
with TODOPreV22_1
so that we can keep the test while still removing the gate.
Code quote:
sqlDB.CheckQueryResults(t, `SELECT x FROM test.public.t`, [][]string{{"3"}
pkg/sql/rename_table.go
line 174 at r1 (raw file):
Previously, postamar (Marius Posta) wrote…
This comment needs to be rewritten also.
Done.
pkg/sql/importer/import_job.go
line 131 at r1 (raw file):
Previously, postamar (Marius Posta) wrote…
This comment could be rewritten as "The public schema is expected to always be present in the database".
Done.
2521803
to
5e26a84
Compare
These tests are failing - @postamar @RichardJCai - could you weigh-in on whether these are flakes or legit? Bazel Essential CI:
GitHub CI:
Bazel Extended CI:
|
Closing in favor of #86225 |
5e26a84
to
0fe61f4
Compare
Release note: None Release justification: remove old version gates
0fe61f4
to
4d6e876
Compare
TFTRs! Incorporated additions from #86225 to get PR to pass - thank you! 🙏🏼 bors r+ |
Build succeeded: |
This commit removes the 22.1 version gate
PublicSchemasWithDescriptors
, which was referenced in:Cleanup was done following guidance from 21.2 cleanup:
Partially addresses #80663
Release note: none
Release justification: remove old version gates