]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: fix 'ceph osd stop <osd.nnn>' doesn't take effect 43962/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 15:01:33 +0000 (10:01 -0500)
commit16d0cf6499e6892c4cc847b92a6b5174b0becf53
tree3dad84f4fab38dac8b452f5bd31c3e3a3f68c275
parentb0aaed0fe8cdfe99c82a70b230004934b51091ff
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