]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
crimson/osd: should handle pg_lease and pg_lease_ack
authorKefu Chai <kchai@redhat.com>
Thu, 10 Oct 2019 06:50:58 +0000 (14:50 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 10 Oct 2019 06:50:58 +0000 (14:50 +0800)
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/osd/osd.cc

index ddd8742d1a74d1f88ea168df6afe7ae824c1f553..0adcc1c3554238b0294906da17ef8fe76c55e25b 100644 (file)
@@ -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: