Skip to content
This repository has been archived by the owner on Jun 23, 2022. It is now read-only.

feat: add balance type for cluster load balance #858

Merged
merged 6 commits into from
Jul 27, 2021

Conversation

levy5307
Copy link
Contributor

implement move replicas for cluster load balance

@levy5307 levy5307 marked this pull request as draft July 20, 2021 06:31
@levy5307 levy5307 changed the title feat: implement move replicas for cluster load balance feat: implement copy secondary for cluster load balance Jul 20, 2021
@levy5307 levy5307 marked this pull request as ready for review July 20, 2021 09:22
hycdong
hycdong previously approved these changes Jul 21, 2021
@levy5307 levy5307 changed the title feat: implement copy secondary for cluster load balance feat: add balance type for cluster load balance Jul 21, 2021
bool greedy_load_balancer::cluster_replica_balance(const cluster_balance_type type)
{
bool enough_information = do_cluster_replica_balance(type);
if (!enough_information) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's better to add a log here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK. I will add it in later pull requests.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants