Skip to content

catalog/lease: setting to support consistent view of descriptors transactions #153618

@fqazi

Description

@fqazi

Currently when a transaction uses multiple descriptors its possible for it to observe different versions of dependent descriptors. For example if we have a schema change that publishes descriptor A and B with V+1, we currently can have a transaction observe descriptors A ( version V), and B ( version V1) on divergent versions. This is not ideal if we want leased descriptors to back crdb_internal functions. To address this, we are going to modify descriptor leasing to use timestamps that are guaranteed to provide a consistent view.

Jira issue: CRDB-54515

Epic CRDB-48806

Metadata

Metadata

Assignees

Labels

A-many-descriptorsRelated to having a large number of descriptors in the databaseC-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)T-sql-foundationsSQL Foundations Team (formerly SQL Schema + SQL Sessions)branch-masterFailures and bugs on the master branch.branch-release-25.4Used to mark GA and release blockers and technical advisories for 25.4target-release-26.1.0

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions