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

osd: Calculate degraded and misplaced more accurately #13031

Merged
merged 1 commit into from Jan 25, 2017

Commits on Jan 20, 2017

  1. osd: Calculate degraded and misplaced more accurately

    Calculate num_object_copies based on the larger of pool size,
    up set size and acting set size.
    
    Calculate num_objects_degraded as the difference between num_object_copies
    and all copies found on acting set and backfilling up set OSDs.
    
    Calculate num_objects_misplaced as all copies on acting set OSDs not in up set
    less copies that have been backfilled to up set OSDs.
    
    Fixes: http://tracker.ceph.com/issues/18619
    
    Signed-off-by: David Zafman <dzafman@redhat.com>
    dzafman committed Jan 20, 2017
    Copy the full SHA
    8423bc4 View commit details
    Browse the repository at this point in the history