-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
78184: workload/schemachanger: primary index detection is incorrect r=fqazi a=fqazi Fixes: #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 78195: distsql: clean up the determination of txn type in mixed version r=yuzefovich a=yuzefovich This commit cleans up the way we determine what txn type to use for a particular flow. Addresses: #78150. Release note: None Co-authored-by: Faizan Qazi <faizan@cockroachlabs.com> Co-authored-by: Yahor Yuzefovich <yahor@cockroachlabs.com>
- Loading branch information
Showing
3 changed files
with
29 additions
and
35 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
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