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

[v23.3.x] c/p_balancer: fixed possible overflow of final used ration #19805

Conversation

vbotbuildovich
Copy link
Collaborator

Backport of PR #19794

Replicas eviction policy is asynchronously applied to each partition it
may happen that the size of individual partitions is not exactly equal
to the total usage size reported. In this case the individual partition
sizes that are moved out of the node may sum up to a value larger than
the total used bytes. Added a code preventing overflowing the final
ratio in this case

Signed-off-by: Michał Maślanka <michal@redpanda.com>
(cherry picked from commit ba31bfb)
@vbotbuildovich vbotbuildovich added this to the v23.3.x-next milestone Jun 12, 2024
@vbotbuildovich vbotbuildovich added the kind/backport PRs targeting a stable branch label Jun 12, 2024
@piyushredpanda piyushredpanda modified the milestones: v23.3.x-next, v23.3.17 Jun 12, 2024
@mmaslankaprv
Copy link
Member

ci failure: #19053

@mmaslankaprv mmaslankaprv merged commit 37a4875 into redpanda-data:v23.3.x Jun 12, 2024
13 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/backport PRs targeting a stable branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants