]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon/OSDMonitor: fix bad update_pending_pgs call
authorSage Weil <sage@redhat.com>
Thu, 18 May 2017 19:32:26 +0000 (15:32 -0400)
committerSage Weil <sage@redhat.com>
Fri, 2 Jun 2017 17:02:43 +0000 (13:02 -0400)
We are not persisiting the updated creating_pgs here; this is bad!  I'm
not sure why it was there to begin with?

Signed-off-by: Sage Weil <sage@redhat.com>
src/mon/OSDMonitor.cc

index 015fbd487179467960b8d24c72ff929854f0f4b4..9aa7ea6df5e74061346df8657fa11d7ff97240a3 100644 (file)
@@ -426,7 +426,6 @@ void OSDMonitor::update_from_paxos(bool *need_bootstrap)
     }
     if (mon->monmap->get_required_features().contains_all(
           ceph::features::mon::FEATURE_LUMINOUS)) {
-      creating_pgs = update_pending_pgs(inc);
       for (const auto &osd_state : inc.new_state) {
        if (osd_state.second & CEPH_OSD_UP) {
          // could be marked up *or* down, but we're too lazy to check which