runaway: Use AUTO_RANDOM for tidb_runaway_watch PK to avoid hotspot
Open
type/enhancement
- Dominant language
- Go
- Stars
- 40.5k
- Forks
- 6.2k
- PR merge metrics
- PR metrics pending
Description
## Enhancement
The primary key of the tidb_runaway_watch table is currently defined as AUTO_INCREMENT, which can be replaced with AUTO_RANDOM to mitigate hotspot issues.
Contributor guide
Assessment
This issue has not been assessed yet.