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

[fix](partition rebalancer) fix migrate tablets between backends back and forth #39333 #39606

Merged

Conversation

yujun777
Copy link
Collaborator

cherry pick from #39333

… and forth (apache#39333)

BUG: partition rebalancer migrates tablets back and forth: move from A
to B, then B to A, then A to B, ... . The reason is the counting tablet
num of backends is incorrect. It doesn't considering the pending and
running sched tasks. After these tasks finished, the tablet num will
change.

Fix: when calcuting the tablet num of backend, it should consider the
in-progress moves which will change tablet num later.
@yujun777
Copy link
Collaborator Author

run buildall

@doris-robot
Copy link

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR

Since 2024-03-18, the Document has been moved to doris-website.
See Doris Document.

@yujun777
Copy link
Collaborator Author

run feut

@yiguolei yiguolei merged commit 57262a3 into apache:branch-2.1 Aug 21, 2024
21 of 22 checks passed
@yiguolei yiguolei mentioned this pull request Sep 5, 2024
3 tasks
This pull request was closed.
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.

3 participants