]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/OSD.cc: shutdown after flapping certain times
authorXiaoxi Chen <xiaoxi.chen@intel.com>
Mon, 16 Nov 2015 08:47:13 +0000 (16:47 +0800)
committerXiaoxi Chen <xiaoxi.chen@intel.com>
Fri, 27 Nov 2015 06:39:06 +0000 (14:39 +0800)
commit9a14ff7eebf9eea898f4ac48187893cae931a720
treebaa7cb4ed1b9ca92a9e8e7e45190fd503a5911e0
parent97affaa21cf94da23dbc1337ba7a0ca2201cef43
osd/OSD.cc: shutdown after flapping certain times

OSD stauts may flapping due to some hardware/network issue.
Although we tried our best to self healthing but still in some case
the OSD is still flipping and require admin to operate.

This patch try another approach that shutdown the OSD after being
marked down certain times(flapping), thus speed up the convergence of cluster.

Signed-off-by: Xiaoxi Chen <xiaoxi.chen@intel.com>
src/common/config_opts.h
src/osd/OSD.cc
src/osd/OSD.h