]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: fix 'ceph osd stop <osd.nnn>' doesn't take effect 43955/head
authortancz1 <tancz1@lenovo.com>
Tue, 26 Oct 2021 09:25:20 +0000 (17:25 +0800)
committerCory Snyder <csnyder@iland.com>
Tue, 16 Nov 2021 14:33:34 +0000 (09:33 -0500)
commit52b8ec639006001cba668d76e83da5ee9e4a30f4
treec73bb31c734909c79bb2e97703db6e974a61e6b3
parent80726a08b9b8f04143ace55e4959aeb8ec834098
osd: fix 'ceph osd stop <osd.nnn>' doesn't take effect

when the osd state is in the non-active state, the osd daemon can be stopped.

Fixes: https://tracker.ceph.com/issues/53039
Signed-off-by: tan changzhi <544463199@qq.com>
(cherry picked from commit d595c95ef6c3dc34b8389ff4270639ff1550d269)
src/osd/OSD.cc