mirror of
https://github.com/ceph/ceph
synced 2025-02-18 00:17:37 +00:00
mds: MDS_DAMAGED to MDS_DAMAGE
We had both and MDS_DAMAGE looks to be the right/intended one. Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
This commit is contained in:
parent
81be13b34c
commit
8d4f3e3045
@ -6,4 +6,4 @@ overrides:
|
||||
- \(MDS_FAILED\)
|
||||
- \(MDS_DEGRADED\)
|
||||
- \(FS_WITH_FAILED_MDS\)
|
||||
- \(MDS_DAMAGED\)
|
||||
- \(MDS_DAMAGE\)
|
||||
|
@ -408,9 +408,9 @@ void MDSMap::get_health(list<pair<health_status_t,string> >& summary,
|
||||
|
||||
void MDSMap::get_health_checks(health_check_map_t *checks) const
|
||||
{
|
||||
// MDS_DAMAGED
|
||||
// MDS_DAMAGE
|
||||
if (!damaged.empty()) {
|
||||
health_check_t& check = checks->get_or_add("MDS_DAMAGED", HEALTH_ERR,
|
||||
health_check_t& check = checks->get_or_add("MDS_DAMAGE", HEALTH_ERR,
|
||||
"%num% mds daemon%plurals% damaged");
|
||||
for (auto p : damaged) {
|
||||
std::ostringstream oss;
|
||||
|
Loading…
Reference in New Issue
Block a user