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.
workload/schemachanger: primary index detection is incorrect
Fixes: cockroachdb#77885 Previously, the schemachanger workload incorrectly detected primary indexes using their names checking for either the words 'pkey' or 'primary'. This approach was not correct and heuristic in nature. To address this, this patch uses crdb_internal.table_indexes to detect primary indexes. Release note: None
- Loading branch information
Showing
1 changed file
with
28 additions
and
16 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