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

Enable RebalancePlanExecutor to execute plan with/without sycn waiting #1059

Merged

Conversation

chia7712
Copy link
Contributor

@chia7712 chia7712 commented Nov 1, 2022

fix #1055

現在RebalancePlanExecutor預設需要實作的部分只要完成搬移就好,最後集體的資料同步和re-election將會由預設實作完成。同時使用者可以選擇是否要等待最後的同步

addingReplicas -> {
if (addingReplicas.isEmpty())
return RebalancePlanExecutor.of()
.execute(context.admin(), ClusterInfo.of(replicas), Duration.ofHours(1))
Copy link
Contributor Author

Choose a reason for hiding this comment

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

調整成等候 re-election,看看是否有其他回饋


checkbox.setDisable(true);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

對應可能等很久的調整,不讓使用者做進一步操作

@chia7712 chia7712 merged commit 7d95f03 into opensource4you:main Nov 1, 2022
@chia7712 chia7712 deleted the refactor_RebalancePlanExecutor branch November 6, 2022 09:03
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.

Remove preferredLeaderElection from Balancer
1 participant