pingcap / pingcap/tidb

Restore should scatter new created empty tables

Open
#57,596 0 comments 3 reactions 0 assignees View on GitHub
affects-5.4 affects-6.1 affects-6.5 affects-7.1 affects-7.5 affects-8.1 affects-8.5 component/br report/customer type/enhancement
Dominant language
Go
Stars
40.5k
Forks
6.2k
PR merge metrics
PR metrics pending

Description

## Enhancement

Context: https://github.com/pingcap/tidb/issues/55184

Starting from TiDB v8.4, the tidb_scatter_region variable supports global scope region scattering. To take advantage of this feature, BR should set this variable to global before creating tables.

Without this configuration, empty tables will not be scattered across the cluster and may instead concentrate on a few TiKV nodes. This uneven distribution increases the likelihood of triggering hotspot issues.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.