From 9cc9529e5709ec4804cc6839da52860cad9330b1 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Thu, 10 Oct 2019 14:50:58 +0800 Subject: [PATCH] crimson/osd: should handle pg_lease and pg_lease_ack Signed-off-by: Kefu Chai --- src/crimson/osd/osd.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/crimson/osd/osd.cc b/src/crimson/osd/osd.cc index ddd8742d1a7..0adcc1c3554 100644 --- a/src/crimson/osd/osd.cc +++ b/src/crimson/osd/osd.cc @@ -500,6 +500,10 @@ seastar::future<> OSD::ms_dispatch(ceph::net::Connection* conn, MessageRef m) conn->get_shared(), m); return seastar::now(); + case MSG_OSD_PG_LEASE: + [[fallthrough]]; + case MSG_OSD_PG_LEASE_ACK: + [[fallthrough]]; case MSG_OSD_PG_NOTIFY2: [[fallthrough]]; case MSG_OSD_PG_INFO2: -- 2.39.5