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
release-23.1: sql: fix SHOW GRANTS when schema is offline #107238
Conversation
Release note (bug fix): Fixed a bug where SHOW GRANTS could fail if any objects were offline, which can happen during a RESTORE.
d62a2f3
to
40bca6f
Compare
3a5ea2c
to
3da57e2
Compare
Thanks for opening a backport. Please check the backport criteria before merging:
If some of the basic criteria cannot be satisfied, ensure that the exceptional criteria are satisfied within.
Add a brief release justification to the body of your PR to justify this backport. Some other things to consider:
|
Also seeing the issue. Running 'show grants' errors with: ERROR: schema "public" is offline: restoring. I recently restored a database.
Using CRDB 23.1.5 |
@jarlva thanks for letting us know. The current plan is that the 23.1.7 release should include this fix. |
Backport 1/1 commits from #107229 on behalf of @rafiss.
/cc @cockroachdb/release
This issue also affected any usage of the information_schema.role_routine_grants table,
but that is probably too low-level to include in the release note.
fixes #106370
Release note (bug fix): Fixed a bug where SHOW GRANTS could fail if any objects were offline, which can happen during a RESTORE.
Release justification: bug fix