]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
crimson/osd/main: call OSD::stop()
authorSamuel Just <sjust@redhat.com>
Thu, 22 Sep 2022 21:49:10 +0000 (14:49 -0700)
committerSamuel Just <sjust@redhat.com>
Tue, 27 Sep 2022 02:35:41 +0000 (19:35 -0700)
Signed-off-by: Samuel Just <sjust@redhat.com>
src/crimson/osd/main.cc

index df3549b3126b2a0b48feaedafdf98e866283c971..18fee14aec54c842c60e3cc2b15f36b49edf5a1d 100644 (file)
@@ -339,6 +339,7 @@ int main(int argc, const char* argv[])
           logger().info("crimson startup completed");
           should_stop.wait().get();
           logger().info("crimson shutting down");
+          osd.stop().get();
           // stop()s registered using defer() are called here
         } catch (...) {
           logger().error("startup failed: {}", std::current_exception());