Skip to content
This repository has been archived by the owner on Nov 18, 2024. It is now read-only.

Tracking issues for enhance replica / leader schedule #927

Open
2 of 8 tasks
zojw opened this issue Jul 29, 2022 · 0 comments
Open
2 of 8 tasks

Tracking issues for enhance replica / leader schedule #927

zojw opened this issue Jul 29, 2022 · 0 comments

Comments

@zojw
Copy link
Contributor

zojw commented Jul 29, 2022

Current root balance schedule strategies are in a very early stage, this issue tracks the shortage or coming works for it.

(They may not take action in recent development iterations, but mark them here to help us remember them)

  • transfer leader base on node's group-leader-count
  • reallocate replica based on node's replica-count
  • transfer leader & reallocate replica by QPS
  • take care of disk capacity(should not reallocate replica to full node and balance full node data to others)
  • combine transfer-leader and reallocate replica (e.g. the group is very worth to transfer leader out but couldn't find a suitable target, should be taken more consider in reallocate replica logic)
  • take care of replica raft-log lag(make transfer leader decision to no-lag replica as possible)
  • take care of in-progress change when making new balance & reallocate decisions
  • schedule & reallocate speed control
@zojw zojw changed the title Tracking issues for enhance schedule Tracking issues for enhance replica / leader schedule Jul 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant