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
merged 1 commit into from Aug 24, 2017

Conversation

@theanalyst
Member

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.

Fixes: http://tracker.ceph.com/issues/20970
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
(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
Details
make check make check failed
Details
Signed-off-by all commits in this PR are signed
Details
Unmodified Submodules submodules for project are unmodified
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment