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

hammer: osd: is_split crash in handle_pg_create #8805

Merged
merged 1 commit into from Aug 4, 2016

Commits on Apr 28, 2016

  1. PG: set epoch_created and parent_split_bits for child pg

    if we have a wrong "created", OSD receiving an osd_pg_create message
    could fail to project its history and crash. a bad split_bits could
    mislead the monitor and osd, and hence cause problems.
    * set child.info.history.epoch_created to osdmap.get_epoch() instead of
      using the parent's epoch_created
    * set child.info.stats.parent_split_bits to the calculated split_bits
      instead using the parent's split_bits
    
    Fixes: http://tracker.ceph.com/issues/15426
    Signed-off-by: Kefu Chai <kchai@redhat.com>
    (cherry picked from commit 8b98556)
    tchaikov authored and smithfarm committed Apr 28, 2016
    Copy the full SHA
    ec02d8b View commit details
    Browse the repository at this point in the history