Skip to content

Conversation

@yujun777
Copy link
Contributor

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
Contributor 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
Contributor Author

run feut

@yiguolei yiguolei merged commit 57262a3 into apache:branch-2.1 Aug 21, 2024
@yiguolei yiguolei mentioned this pull request Sep 5, 2024
3 tasks
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