]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/osd: ignore exception when stopping osd
authorKefu Chai <kchai@redhat.com>
Fri, 14 Jun 2019 06:57:55 +0000 (14:57 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 14 Jun 2019 08:31:22 +0000 (16:31 +0800)
commit5461047855f7e3623a366a7385cbe8a23b45de11
treef5afd9f2d174c1c0a3bd9202688fad60d46f1f22
parentd7be5b1f03df2805126cfea0d9341f023471faa4
crimson/osd: ignore exception when stopping osd

OSD::stop() is a top-level method in the sense that it will be called
directly when engine stops. so it should not throw any exceptions.
instead, we will print out the error and ignore the exception if any.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/osd/osd.cc