-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Closed
Copy link
Labels
A-many-descriptorsRelated to having a large number of descriptors in the databaseRelated to having a large number of descriptors in the databaseC-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)T-sql-foundationsSQL Foundations Team (formerly SQL Schema + SQL Sessions)SQL Foundations Team (formerly SQL Schema + SQL Sessions)branch-masterFailures and bugs on the master branch.Failures and bugs on the master branch.branch-release-25.4Used to mark GA and release blockers and technical advisories for 25.4Used to mark GA and release blockers and technical advisories for 25.4target-release-26.1.0
Description
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 databaseRelated to having a large number of descriptors in the databaseC-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)T-sql-foundationsSQL Foundations Team (formerly SQL Schema + SQL Sessions)SQL Foundations Team (formerly SQL Schema + SQL Sessions)branch-masterFailures and bugs on the master branch.Failures and bugs on the master branch.branch-release-25.4Used to mark GA and release blockers and technical advisories for 25.4Used to mark GA and release blockers and technical advisories for 25.4target-release-26.1.0