Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance-Split-Table-Stability #29034

Closed
3 of 6 tasks
hzh0425 opened this issue Oct 22, 2021 · 1 comment
Closed
3 of 6 tasks

Enhance-Split-Table-Stability #29034

hzh0425 opened this issue Oct 22, 2021 · 1 comment
Labels
type/enhancement The issue or PR belongs to an enhancement.

Comments

@hzh0425
Copy link

hzh0425 commented Oct 22, 2021

Description

Currently, the split table(regions) in tidb is constructed by following 2 steps:

  1. Notify tikv to split regions
  2. Notify pd to scatter regions

But this will let the time cost for the whole splitting table become unstable and rather time-consuming.

So we want to split and scatter regions in pd directly, that means I should add new method : SplitAndScatterRegions()

Tidb can directly send a splitAndScatterRegions instruction to PD, and deliver PD to split and scatter without sending two requests (split first and then scatter)

Tasks

Mentor

Recommended Skills

  • go
@nolouch
Copy link
Member

nolouch commented May 9, 2023

ref tikv/pd#6426

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement The issue or PR belongs to an enhancement.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants