Skip to content

Commit

Permalink
sql: partition lease table when optimizing system database for MR
Browse files Browse the repository at this point in the history
This is an oversight from cockroachdb#92588. Testing will come in cockroachdb#92826.

Epic: CRDB-18596

Release note: None
  • Loading branch information
ajwerner committed Dec 9, 2022
1 parent 62cfe1a commit de840a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/sql/region_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -2470,6 +2470,7 @@ func (p *planner) OptimizeSystemDatabase(ctx context.Context) error {
rbrTables := []string{
"sqlliveness",
"sql_instances",
"lease",
}

if !systemschema.TestSupportMultiRegion() {
Expand Down

0 comments on commit de840a7

Please sign in to comment.