-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
1 parent
97affaa
commit bcb8f36
Showing
2 changed files
with
19 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bcb8f36
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This commit doesn't cope with one situation. For example, a physical host may have more than one osd, some of them are sata disk while others are ssd disk. If sata osds and ssd osds are logically organized in different cushmap root, they will be treated as two different reporter even if they are in did came from same host.