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

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

Merged
merged 1 commit into from Oct 29, 2018

Commits on Oct 4, 2018

  1. 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).
    
    Fixes: http://tracker.ceph.com/issues/26866
    Signed-off-by: Sage Weil <sage@redhat.com>
    (cherry picked from commit daf53f4)
    
    Conflicts:
    	src/osd/OSDMap.cc
    liewegas authored and smithfarm committed Oct 4, 2018
    Copy the full SHA
    6b8d23d View commit details
    Browse the repository at this point in the history