]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon: support min_down_reporter conuted by subtree level 6709/head
authorXiaoxi Chen <xiaoxi.chen@intel.com>
Wed, 11 Nov 2015 07:08:35 +0000 (15:08 +0800)
committerXiaoxi Chen <xiaoxi.chen@intel.com>
Mon, 30 Nov 2015 03:12:39 +0000 (11:12 +0800)
commitbcb8f362ec6ac47c4908118e7860dec7971d001f
tree004797b1673b2d687ba01c66e9e6e1bbb5b1cfa4
parent97affaa21cf94da23dbc1337ba7a0ca2201cef43
mon: support min_down_reporter conuted by subtree level

In many case OSDs in an isolated(public/cluster connection lost but osd<->mon is good) node
will report other OSD down to monitor,which usually wrongly mark someone down.

Nowaday the "osd_min_down_reporters", we would like to extend the semantic to
allow it counted by host or rack, thus user could require failure reports from at
least two nodes to mark an OSD down, which shoudl prevent an isoloated host make trouble
to the cluster.

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