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

luminous: mon: bug in functon reweight_by_utilization #17198

merged 1 commit into from Aug 24, 2017



theanalyst commented Aug 23, 2017

mon/PGMap: reweight::by_utilization - skip DNE osds
EC could set one or more members of acting set to CRUSH_ITEM_NONE,
which as a result can cause pgs_by_osd.resize() attempt to apply
for a large amount of memory which we can not afford.

Fix the above problem by always excluding a current DNE osd from
acting set.

Signed-off-by: xie xingguo <>
(cherry picked from commit 6ae96d3)

@theanalyst theanalyst self-assigned this Aug 23, 2017

@theanalyst theanalyst added this to the luminous milestone Aug 23, 2017

@theanalyst theanalyst changed the title from bug in funciton reweight_by_utilization to luminous: mon: bug in functon reweight_by_utilization Aug 23, 2017

@liewegas liewegas merged commit 1c2d4c0 into ceph:luminous Aug 24, 2017

2 of 4 checks passed

Docs: build check Docs: failed with errors
make check make check failed
Signed-off-by all commits in this PR are signed
Unmodified Submodules submodules for project are unmodified
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment