mirror of
https://github.com/ceph/ceph
synced 2025-01-04 10:12:30 +00:00
mon/PGMap: fix "0 stuck requests are blocked > 4096 sec" warn
There are test cases I saw Ceph complained about: 2017-08-19 01:02:22.393763 mon.a mon.0 172.21.15.108:6789/0 279 : cluster [ERR] Health check failed: 0 stuck requests are blocked > 4096 sec (REQUEST_STUCK) Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
This commit is contained in:
parent
4ea1cd2a4e
commit
364178e716
@ -3188,7 +3188,7 @@ void PGMap::get_health_checks(
|
||||
}
|
||||
if (!error_detail.empty()) {
|
||||
ostringstream ss;
|
||||
ss << warn << " stuck requests are blocked > "
|
||||
ss << error << " stuck requests are blocked > "
|
||||
<< err_age << " sec";
|
||||
auto& d = checks->add("REQUEST_STUCK", HEALTH_ERR, ss.str());
|
||||
d.detail.swap(error_detail);
|
||||
|
Loading…
Reference in New Issue
Block a user