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

mon/OSDMonitor: update creating_pgs using pending_creatings #14897

Merged
merged 1 commit into from May 2, 2017

Commits on May 1, 2017

  1. mon/OSDMonitor: update creating_pgs using pending_creatings

    * without this change, in OSDMonitor::update_pending_pgs(), creating_pgs
      is updated directly without lock, and the change will be overwritten
      with pending changes eventually. so we should update it using
      pending_creatings
    * also, should acquire the lock in OSDMonitor::send_pg_creates() when
      reading creating_pgs_by_osd_epoch and createing_pgs.
    
    Fixes: http://tracker.ceph.com/issues/19814
    Signed-off-by: Kefu Chai <kchai@redhat.com>
    tchaikov committed May 1, 2017
    Configuration menu
    Copy the full SHA
    b2d2956 View commit details
    Browse the repository at this point in the history