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

Add transfer leader scheduler #5638

Closed
ethercflow opened this issue Oct 26, 2022 · 0 comments · Fixed by #5639 or #5918
Closed

Add transfer leader scheduler #5638

ethercflow opened this issue Oct 26, 2022 · 0 comments · Fixed by #5639 or #5918
Labels
type/development The issue belongs to a development tasks

Comments

@ethercflow
Copy link
Member

Development Task

Add transfer leader scheduler when receive region heart beat.

Refer to tikv/tikv#12876

@ethercflow ethercflow added the type/development The issue belongs to a development tasks label Oct 26, 2022
ethercflow added a commit to ethercflow/pd that referenced this issue Oct 27, 2022
Signed-off-by: Wenbo Zhang <ethercflow@gmail.com>

#ref tikv#5638
ethercflow added a commit to ethercflow/pd that referenced this issue Oct 28, 2022
ref tikv#5638

Signed-off-by: Wenbo Zhang <ethercflow@gmail.com>
ethercflow added a commit to ethercflow/pd that referenced this issue Oct 31, 2022
ref tikv#5638

Signed-off-by: Wenbo Zhang <ethercflow@gmail.com>
ethercflow added a commit to ethercflow/pd that referenced this issue Oct 31, 2022
ref tikv#5638

Signed-off-by: Wenbo Zhang <ethercflow@gmail.com>
ethercflow added a commit to ethercflow/pd that referenced this issue Nov 2, 2022
ref tikv#5638

Signed-off-by: Wenbo Zhang <ethercflow@gmail.com>
ethercflow added a commit to ethercflow/pd that referenced this issue Nov 2, 2022
ref tikv#5638

Signed-off-by: Wenbo Zhang <ethercflow@gmail.com>
ethercflow added a commit to ethercflow/pd that referenced this issue Nov 2, 2022
ref tikv#5638

Signed-off-by: Wenbo Zhang <ethercflow@gmail.com>
ethercflow added a commit to ethercflow/pd that referenced this issue Nov 2, 2022
ref tikv#5638

Signed-off-by: Wenbo Zhang <ethercflow@gmail.com>
ethercflow added a commit to ethercflow/pd that referenced this issue Nov 3, 2022
ref tikv#5638

Signed-off-by: Wenbo Zhang <ethercflow@gmail.com>
ethercflow added a commit to ethercflow/pd that referenced this issue Nov 3, 2022
ref tikv#5638

Signed-off-by: Wenbo Zhang <ethercflow@gmail.com>
ethercflow added a commit to ethercflow/pd that referenced this issue Nov 3, 2022
ref tikv#5638

Signed-off-by: Wenbo Zhang <ethercflow@gmail.com>
ethercflow added a commit to ethercflow/pd that referenced this issue Nov 3, 2022
ref tikv#5638

Signed-off-by: Wenbo Zhang <ethercflow@gmail.com>
ethercflow added a commit to ethercflow/pd that referenced this issue Nov 4, 2022
ref tikv#5638

Signed-off-by: Wenbo Zhang <ethercflow@gmail.com>
ethercflow added a commit to ethercflow/pd that referenced this issue Nov 4, 2022
ref tikv#5638

Signed-off-by: Wenbo Zhang <ethercflow@gmail.com>
ethercflow added a commit to ethercflow/pd that referenced this issue Nov 4, 2022
ref tikv#5638

Signed-off-by: Wenbo Zhang <ethercflow@gmail.com>
ethercflow added a commit to ethercflow/pd that referenced this issue Nov 7, 2022
ref tikv#5638

Signed-off-by: Wenbo Zhang <ethercflow@gmail.com>
ethercflow added a commit to ethercflow/pd that referenced this issue Nov 7, 2022
ref tikv#5638

Signed-off-by: Wenbo Zhang <ethercflow@gmail.com>
ti-chi-bot added a commit that referenced this issue Nov 7, 2022
close #5638

add transfer leader scheduler

Signed-off-by: Wenbo Zhang <ethercflow@gmail.com>

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
ethercflow added a commit to ethercflow/pd that referenced this issue Jan 18, 2023
ref tikv#5638

Signed-off-by: Wenbo Zhang <ethercflow@gmail.com>
ethercflow added a commit to ethercflow/pd that referenced this issue Jan 19, 2023
ref tikv#5638

Signed-off-by: Wenbo Zhang <ethercflow@gmail.com>
ethercflow added a commit to ethercflow/pd that referenced this issue Jan 19, 2023
ref tikv#5638

Signed-off-by: Wenbo Zhang <ethercflow@gmail.com>
ti-chi-bot pushed a commit that referenced this issue Jan 19, 2023
…#5873)

ref #5638

schedulers: split transfer-witness-leader's limit from balance-leader

Signed-off-by: Wenbo Zhang <ethercflow@gmail.com>
ethercflow added a commit to ethercflow/pd that referenced this issue Jan 30, 2023
ref tikv#5638

Signed-off-by: Wenbo Zhang <ethercflow@gmail.com>
ethercflow added a commit to ethercflow/pd that referenced this issue Jan 30, 2023
ref tikv#5638

Signed-off-by: Wenbo Zhang <ethercflow@gmail.com>
ti-chi-bot pushed a commit that referenced this issue Jan 30, 2023
ref #5638

enable transfer-witness-leader by default

Signed-off-by: Wenbo Zhang <ethercflow@gmail.com>
ethercflow added a commit to ethercflow/pd that referenced this issue Jan 30, 2023
ref tikv#5638

Signed-off-by: Wenbo Zhang <ethercflow@gmail.com>
ti-chi-bot added a commit that referenced this issue Jan 31, 2023
ref #5638

Signed-off-by: Wenbo Zhang <ethercflow@gmail.com>

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
ethercflow added a commit to ethercflow/pd that referenced this issue Feb 7, 2023
ref tikv#5638

Signed-off-by: Wenbo Zhang <ethercflow@gmail.com>
ti-chi-bot pushed a commit that referenced this issue Feb 7, 2023
ref #5638, close #5638

- Reduce the batch size to avoid discarding if it exceeds MaxWaitingOperator
- Increase the channel capacity to avoid discarding when the capacity is full

Signed-off-by: Wenbo Zhang <ethercflow@gmail.com>
ethercflow added a commit to ethercflow/pd that referenced this issue Feb 7, 2023
ref tikv#5638

Signed-off-by: Wenbo Zhang <ethercflow@gmail.com>
ti-chi-bot added a commit that referenced this issue Feb 7, 2023
ref #5638

filter: fix panic caused by nil pointer

Signed-off-by: Wenbo Zhang <ethercflow@gmail.com>

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/development The issue belongs to a development tasks
Projects
None yet
1 participant