forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit refactors the descs.Collection's GetAll* methods, which return descriptors and other catalog metadata in bulk, to share a common access path in which the descriptor's layers are properly aggregated. This is non-trivial as there are numerous edge cases: - virtual schemas and objects exist for all databases and their descriptors don't reference the parent database at all, - descriptorless public schemas and temporary schemas only exist as namespace entries, - functions don't have namespace entries, - and so forth. These new methods are delegated to by the existing methods which are now deprecated. Informs cockroachdb#64089. Release note: None
- Loading branch information
Marius Posta
committed
Dec 13, 2022
1 parent
7939ba8
commit 10648d7
Showing
7 changed files
with
397 additions
and
203 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.