]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mon/OSDMonitor: new osd timeout handling is unconditional
authorSage Weil <sage@redhat.com>
Fri, 8 Sep 2017 19:00:34 +0000 (15:00 -0400)
committerSage Weil <sage@redhat.com>
Fri, 15 Sep 2017 18:49:42 +0000 (14:49 -0400)
Signed-off-by: Sage Weil <sage@redhat.com>
src/mon/OSDMonitor.cc

index b73eb5900f788337cc73879617a3ef101c9eb085..106d2826f577a704e719e0e183f76d30d486d27f 100644 (file)
@@ -3301,12 +3301,8 @@ void OSDMonitor::tick()
   bool do_propose = false;
   utime_t now = ceph_clock_now();
 
-  if (osdmap.require_osd_release >= CEPH_RELEASE_LUMINOUS &&
-      mon->monmap->get_required_features().contains_all(
-       ceph::features::mon::FEATURE_LUMINOUS)) {
-    if (handle_osd_timeouts(now, last_osd_report)) {
-      do_propose = true;
-    }
+  if (handle_osd_timeouts(now, last_osd_report)) {
+    do_propose = true;
   }
 
   // mark osds down?