mirror of
https://github.com/ceph/ceph
synced 2025-01-19 09:32:00 +00:00
Merge pull request #20485 from jcsp/wip-23017
mgr: quieten logging on missing OSD stats Reviewed-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
commit
a5103b6cad
@ -953,7 +953,11 @@ int64_t PGMap::get_rule_avail(const OSDMap& osdmap, int ruleno) const
|
||||
min = proj;
|
||||
}
|
||||
} else {
|
||||
dout(0) << "Cannot get stat of OSD " << p->first << dendl;
|
||||
if (osdmap.is_up(p->first)) {
|
||||
// This is a level 4 rather than an error, because we might have
|
||||
// only just started, and not received the first stats message yet.
|
||||
dout(4) << "OSD " << p->first << " is up, but has no stats" << dendl;
|
||||
}
|
||||
}
|
||||
}
|
||||
return min;
|
||||
|
Loading…
Reference in New Issue
Block a user