cockroachdb / cockroachdb/cockroach
catalog: add caching for `ScanDescriptorsInSpans` function
Open
C-enhancement
- Dominant language
- Go
- Stars
- 32.5k
- Forks
- 4.1k
- PR merge metrics
- PR metrics pending
Description
In #133190, a function is added to the CatalogReader interface which allows for scanning descriptors in a span of the keyspace. This is implemented in the cachedCatalogReader as a passthrough to the underlying catalogReader.
Ideally, this should be caching descriptors fetched by a span accordingly, figure out how this should behave, what the benefit is (in a small and large cluster) and how to do it.
Epic: CRDB-43151
Jira issue: CRDB-44193
Contributor guide
Assessment
This issue has not been assessed yet.