-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Make balance works #881
Make balance works #881
Conversation
ef30199
to
fa41a21
Compare
fa41a21
to
e3aa5d3
Compare
Unit testing passed. |
Unit testing failed. |
e4abb45
to
2003a5b
Compare
Unit testing failed. |
Unit testing passed. |
Unit testing failed. |
c2f37ef
to
5131f4c
Compare
Unit testing failed. |
Unit testing passed. |
} | ||
auto tasks = std::move(resp).value(); | ||
resp_ = std::make_unique<cpp2::ExecutionResponse>(); | ||
std::vector<std::string> header{"balanceId, spaceId:partId, src->dst", "status"}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can create header in client directly?
jenkins go |
fdd9c64
to
29df182
Compare
Unit testing failed. |
1 similar comment
Unit testing failed. |
Unit testing passed. |
Unit testing passed. |
Unit testing passed. |
Unit testing passed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work!
doc pr #1037 |
* Implement member change * Address wadeliuyi's comments * Add Balance UT * Fix failed Meta http Uts * Add balance data and balance data id command in console * Fix bugs * Fix stale peers when add part * Fix bugs * Remove retry logic and fix stale log response * Address cirtical27's comments * Fix snapshot_test * Fix bug in snapshot * Remove check in commitTransferLeader
* Implement member change * Address wadeliuyi's comments * Add Balance UT * Fix failed Meta http Uts * Add balance data and balance data id command in console * Fix bugs * Fix stale peers when add part * Fix bugs * Remove retry logic and fix stale log response * Address cirtical27's comments * Fix snapshot_test * Fix bug in snapshot * Remove check in commitTransferLeader
Co-authored-by: Sophie <84560950+Sophie-Xie@users.noreply.github.com> Co-authored-by: shylock <33566796+Shylock-Hg@users.noreply.github.com> Co-authored-by: Sophie <84560950+Sophie-Xie@users.noreply.github.com>
subtask of #182
Main changes:
Show the usage with an example:
Originally, the cluster have 7 hosts with 3 parts, 3 replica.
Let's scale the cluster to 9 hosts (one part one host).
Start two new hosts directly. (192.168.8.210:44920, 192.168.8.210:44930)
We could show our parts allocation with "show hosts" (3 parts, 3 replica, 7 hosts, 2 new hosts)