]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mon/MonMapMonitor: set initial min_mon_release
authorSage Weil <sage@redhat.com>
Tue, 29 Jan 2019 18:51:33 +0000 (12:51 -0600)
committerSage Weil <sage@redhat.com>
Tue, 12 Feb 2019 18:40:36 +0000 (12:40 -0600)
Signed-off-by: Sage Weil <sage@redhat.com>
src/mon/MonmapMonitor.cc

index b3bb2f891794385696366d64154872a73d0da1c5..5d7358729f79d2402651b36781e7f58aa7684024 100644 (file)
@@ -47,6 +47,7 @@ void MonmapMonitor::create_initial()
   } else {
     // initialize with default persistent features for new clusters
     pending_map.persistent_features = ceph::features::mon::get_persistent();
+    pending_map.min_mon_release = ceph_release();
   }
 }