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

Commit

Permalink
feat: add copy secondary for cluster balance (#883)
Browse files Browse the repository at this point in the history
  • Loading branch information
levy5307 authored Aug 26, 2021
1 parent 384b19a commit 73004eb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/meta/greedy_load_balancer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1012,7 +1012,8 @@ void greedy_load_balancer::balance_cluster()
return;
}

// TBD(zlw): copy primary
cluster_replica_balance(
t_global_view, cluster_balance_type::COPY_SECONDARY, *t_migration_result);
}

bool greedy_load_balancer::cluster_replica_balance(const meta_view *global_view,
Expand Down

0 comments on commit 73004eb

Please sign in to comment.