]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
OSD: stop mgrc earlier in shutdown()
authorKefu Chai <kchai@redhat.com>
Tue, 2 May 2017 01:34:53 +0000 (09:34 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 2 May 2017 01:45:16 +0000 (09:45 +0800)
commit611572a6103e20d3e3abf3530ea33e539b9db371
tree280ef1ffaf77ebf14411085f60d565ed60e5bc0b
parent7d85bee4b52106ede9874ec3ea5ecc235a059601
OSD: stop mgrc earlier in shutdown()

it's better this way, as MgrClient is more like an internal consumer
of the services offered by OSD, instead of service privider. it could
prevent future problem if we can stop it earlier in the shutdown
process.

see also: http://tracker.ceph.com/issues/19638
Signed-off-by: Kefu Chai <kchai@redhat.com>
src/osd/OSD.cc