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

mimic: osd: OSDMapMapping does not handle active.size() > pool size #24431

merged 1 commit into from Oct 29, 2018


None yet
3 participants
Copy link

smithfarm commented Oct 4, 2018

@smithfarm smithfarm self-assigned this Oct 4, 2018

@smithfarm smithfarm added this to the mimic milestone Oct 4, 2018

@smithfarm smithfarm requested review from liewegas and gregsfortytwo Oct 4, 2018

osd/OSDMap: clean out pg_temp mappings that exceed pool size
If the pool size is reduced, we can end up with pg_temp mappings that are
too big.  This can trigger bad behavior elsewhere (e.g., OSDMapMapping,
which assumes that acting and up are always <= pool size).

Signed-off-by: Sage Weil <>
(cherry picked from commit daf53f4)


@smithfarm smithfarm force-pushed the smithfarm:wip-35936-mimic branch from 6cc6782 to 6b8d23d Oct 4, 2018


This comment has been minimized.

Copy link

yuriw commented Oct 23, 2018

@yuriw yuriw merged commit 5824895 into ceph:mimic Oct 29, 2018

4 checks passed

Docs: build check OK - docs built
Signed-off-by all commits in this PR are signed
Unmodified Submodules submodules for project are unmodified
make check make check succeeded

@smithfarm smithfarm changed the title mimic: OSDMapMapping does not handle active.size() > pool size mimic: osd: OSDMapMapping does not handle active.size() > pool size Oct 29, 2018

@smithfarm smithfarm deleted the smithfarm:wip-35936-mimic branch Oct 29, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment