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

api: add a new scheduler to balance the regions of the given key range #8988

Merged
merged 14 commits into from
Feb 10, 2025

Merge branch 'master' into balance_key_range

33c12bd
Select commit
Loading
Failed to load commit list.
Merged

api: add a new scheduler to balance the regions of the given key range #8988

Merge branch 'master' into balance_key_range
33c12bd
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch failed Feb 10, 2025 in 0s

61.74% of diff hit (target 76.23%)

View this Pull Request on Codecov

61.74% of diff hit (target 76.23%)

Annotations

Check warning on line 334 in pkg/mcs/scheduling/server/cluster.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/mcs/scheduling/server/cluster.go#L333-L334

Added lines #L333 - L334 were not covered by tests

Check warning on line 54 in pkg/schedule/schedulers/balance_range.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/schedule/schedulers/balance_range.go#L53-L54

Added lines #L53 - L54 were not covered by tests

Check warning on line 61 in pkg/schedule/schedulers/balance_range.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/schedule/schedulers/balance_range.go#L60-L61

Added lines #L60 - L61 were not covered by tests

Check warning on line 117 in pkg/schedule/schedulers/balance_range.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/schedule/schedulers/balance_range.go#L108-L117

Added lines #L108 - L117 were not covered by tests

Check warning on line 144 in pkg/schedule/schedulers/balance_range.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/schedule/schedulers/balance_range.go#L143-L144

Added lines #L143 - L144 were not covered by tests

Check warning on line 161 in pkg/schedule/schedulers/balance_range.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/schedule/schedulers/balance_range.go#L160-L161

Added lines #L160 - L161 were not covered by tests

Check warning on line 186 in pkg/schedule/schedulers/balance_range.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/schedule/schedulers/balance_range.go#L183-L186

Added lines #L183 - L186 were not covered by tests

Check warning on line 188 in pkg/schedule/schedulers/balance_range.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/schedule/schedulers/balance_range.go#L188

Added line #L188 was not covered by tests

Check warning on line 213 in pkg/schedule/schedulers/balance_range.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/schedule/schedulers/balance_range.go#L210-L213

Added lines #L210 - L213 were not covered by tests

Check warning on line 217 in pkg/schedule/schedulers/balance_range.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/schedule/schedulers/balance_range.go#L216-L217

Added lines #L216 - L217 were not covered by tests

Check warning on line 226 in pkg/schedule/schedulers/balance_range.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/schedule/schedulers/balance_range.go#L223-L226

Added lines #L223 - L226 were not covered by tests

Check warning on line 230 in pkg/schedule/schedulers/balance_range.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/schedule/schedulers/balance_range.go#L229-L230

Added lines #L229 - L230 were not covered by tests

Check warning on line 558 in pkg/schedule/schedulers/init.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/schedule/schedulers/init.go#L557-L558

Added lines #L557 - L558 were not covered by tests

Check warning on line 565 in pkg/schedule/schedulers/init.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/schedule/schedulers/init.go#L564-L565

Added lines #L564 - L565 were not covered by tests

Check warning on line 569 in pkg/schedule/schedulers/init.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/schedule/schedulers/init.go#L568-L569

Added lines #L568 - L569 were not covered by tests

Check warning on line 573 in pkg/schedule/schedulers/init.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/schedule/schedulers/init.go#L572-L573

Added lines #L572 - L573 were not covered by tests

Check warning on line 577 in pkg/schedule/schedulers/init.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/schedule/schedulers/init.go#L576-L577

Added lines #L576 - L577 were not covered by tests

Check warning on line 581 in pkg/schedule/schedulers/init.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/schedule/schedulers/init.go#L580-L581

Added lines #L580 - L581 were not covered by tests

Check warning on line 585 in pkg/schedule/schedulers/init.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/schedule/schedulers/init.go#L584-L585

Added lines #L584 - L585 were not covered by tests

Check warning on line 589 in pkg/schedule/schedulers/init.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/schedule/schedulers/init.go#L588-L589

Added lines #L588 - L589 were not covered by tests

Check warning on line 594 in pkg/schedule/schedulers/init.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

pkg/schedule/schedulers/init.go#L593-L594

Added lines #L593 - L594 were not covered by tests

Check warning on line 111 in server/api/scheduler.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/api/scheduler.go#L109-L111

Added lines #L109 - L111 were not covered by tests

Check warning on line 115 in server/api/scheduler.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/api/scheduler.go#L113-L115

Added lines #L113 - L115 were not covered by tests

Check warning on line 124 in server/api/scheduler.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/api/scheduler.go#L122-L124

Added lines #L122 - L124 were not covered by tests

Check warning on line 130 in server/api/scheduler.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

server/api/scheduler.go#L128-L130

Added lines #L128 - L130 were not covered by tests