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

Kminion doesn't automatically reassign partitions #274

Open
timchenko-a opened this issue Sep 26, 2024 · 1 comment
Open

Kminion doesn't automatically reassign partitions #274

timchenko-a opened this issue Sep 26, 2024 · 1 comment

Comments

@timchenko-a
Copy link

I use Kminion 2.2.8, topicManagement is enabled.

According to the documentation:

Will reassign partitions to ensure every broker leads at least one partition, and that all partitions' replicas are distributed evenly across the brokers. KMinion tries to assign partitionIDs to brokers that have the same broker id.

In our case some partitions got reassign by CruiseControl during rebalance and they never got reassign back by Kminion.
Firefox_Screenshot_2024-09-26T07-51-22 394Z
So half of the partitions ended up on a single broker.

I excluded the topic from rebalancing for the future, but still curious if this is a bug or expected behaviour?

@weeco
Copy link
Contributor

weeco commented Nov 3, 2024

Is this potentially fixed via: #257

The issue was that when adding/removing brokers it would potentially be in a situation where one broker doesn't have any partitions. This should be fixed with this change.

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

No branches or pull requests

2 participants