]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mon/MgrStatMonitor: drop obsolete preluminous hack
authorSage Weil <sage@redhat.com>
Fri, 8 Sep 2017 18:52:06 +0000 (14:52 -0400)
committerSage Weil <sage@redhat.com>
Thu, 14 Sep 2017 13:46:38 +0000 (09:46 -0400)
Signed-off-by: Sage Weil <sage@redhat.com>
src/mon/MgrStatMonitor.cc

index 2e26015c7cd0c84ae51345a88783394ecf655679..7c2f97078ac0d4d7891488f4fd8c062f6c8ac2d9 100644 (file)
@@ -62,10 +62,6 @@ void MgrStatMonitor::update_from_paxos(bool *need_bootstrap)
 void MgrStatMonitor::update_logger()
 {
   dout(20) << __func__ << dendl;
-  if (mon->osdmon()->osdmap.require_osd_release < CEPH_RELEASE_LUMINOUS) {
-    dout(20) << "yielding cluster perfcounter updates to pgmon" << dendl;
-    return;
-  }
 
   mon->cluster_logger->set(l_cluster_osd_bytes, digest.osd_sum.kb * 1024ull);
   mon->cluster_logger->set(l_cluster_osd_bytes_used,