Skip to content

[load balance] Add load balance framework#16839

Open
HxpSerein wants to merge 5 commits intoapache:masterfrom
HxpSerein:auto_balance
Open

[load balance] Add load balance framework#16839
HxpSerein wants to merge 5 commits intoapache:masterfrom
HxpSerein:auto_balance

Conversation

@HxpSerein
Copy link
Collaborator

@HxpSerein HxpSerein commented Dec 1, 2025

Description

This PR adds a region rebalancing feature that allows users to submit a rebalance task through a single Load Balance SQL command.

Automated migration plan

A new cost-aware balancing algorithm computes the optimal region migration plan, which is executed distributedly by the confignode.

Not limited to scaling scenarios

The feature works not only for cluster expansion/shrinking but also for general data skew cases (e.g., uneven region sizes caused by concentrated write load).

Improves cluster balance

Helps address storage imbalance and write-load imbalance across DataNodes, keeping the cluster healthier and more stable.

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.

1 participant