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.
98446: lease: migrate lease to rbr compatible index r=JeffSwenson a=JeffSwenson Migrate the system.lease table to an index that is byte compatible with a regional by row index. The version gates are intended to follow the protocol discussed in the comment at the top of upgrades/system_rbr_indexes.go Writing to the lease table always occurs throught he kv API. The table is read via the SQL api. The SQL uses of the system.lease table are forwards compatible as long as they do not need to read the crdb_region. Queries that interact with individual leases need to retrieve the crdb_region and must consult the version gate. Part of cockroachdb#94843 Release Note: None Co-authored-by: Jeff <[email protected]>
- Loading branch information
Showing
18 changed files
with
182 additions
and
176 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
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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.