]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/OSD: keep synchronizing with mon if stuck at booting 28404/head
authorxie xingguo <xie.xingguo@zte.com.cn>
Fri, 31 May 2019 06:18:40 +0000 (14:18 +0800)
committerxie xingguo <xie.xingguo@zte.com.cn>
Wed, 5 Jun 2019 08:45:46 +0000 (16:45 +0800)
commitafc09727d2e053c9db777b4c16366a03099e0bb7
tree9a0fce866893761dcc76cfd77a48058acbcd6619
parent439ed8ba48af7d33de767107ec13c30c58372abc
osd/OSD: keep synchronizing with mon if stuck at booting

During the flapping no{up,down,in,out} flags test I've noticed
that some osds might be stuck at down&booting state due to the
unawareness of noup flag changing.
Fix by subscribing (continuous) to next osd map, just as we do
if we are stuck at unhealthy.

Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
src/osd/OSD.cc