From d101593c3871a93288152ad1b00e4cdbfb489686 Mon Sep 17 00:00:00 2001 From: chunmei Liu Date: Thu, 9 May 2019 15:22:42 -0700 Subject: [PATCH] =?utf8?q?crimson/osd:=20can't=20=E2=80=98operator --- src/crimson/osd/osd.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/crimson/osd/osd.cc b/src/crimson/osd/osd.cc index 16908a24ae31b..eb73a3f0960d4 100644 --- a/src/crimson/osd/osd.cc +++ b/src/crimson/osd/osd.cc @@ -238,7 +238,7 @@ seastar::future<> OSD::_preboot(version_t oldest, version_t newest) logger().warn("osdmap NOUP flag is set, waiting for it to clear"); } else if (!osdmap->test_flag(CEPH_OSDMAP_SORTBITWISE)) { logger().error("osdmap SORTBITWISE OSDMap flag is NOT set; please set it"); - } else if (osdmap->require_osd_release < CEPH_RELEASE_LUMINOUS) { + } else if (osdmap->require_osd_release < ceph_release_t::luminous) { logger().error("osdmap require_osd_release < luminous; please upgrade to luminous"); } else if (false) { // TODO: update mon if current fullness state is different from osdmap @@ -825,7 +825,7 @@ seastar::future<> OSD::handle_pg_log(ceph::net::Connection* conn, void OSD::check_osdmap_features() { - if (osdmap->require_osd_release < CEPH_RELEASE_NAUTILUS) { + if (osdmap->require_osd_release < ceph_release_t::nautilus) { heartbeat->set_require_authorizer(false); } else { heartbeat->set_require_authorizer(true); -- 2.39.5