Skip to content

feat: support leader rebalance#726

Merged
mattisonchao merged 11 commits intomainfrom
feat.leader.balance.2
Jul 2, 2025
Merged

feat: support leader rebalance#726
mattisonchao merged 11 commits intomainfrom
feat.leader.balance.2

Conversation

@mattisonchao
Copy link
Copy Markdown
Member

@mattisonchao mattisonchao commented Jun 20, 2025

Motivation

Support leader rebalance to avoid some cases(rolling restart) will make all leaders on the same nodes.

Modification

  • Introduce Action package.
  • Introduce a leader-based node selector.
  • Support load balancer configuration on cluster config.
  • Support the election balance task after shard balancing.
  • Support the future of the shard election.
  • Add some tests.

@mattisonchao mattisonchao merged commit 744dd98 into main Jul 2, 2025
14 of 18 checks passed
@mattisonchao mattisonchao deleted the feat.leader.balance.2 branch July 2, 2025 01:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants