Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mon: modify the level of a log about OSD's condition in OSDMonitor.cc
In actual use,we replace old hard disk by new or do performance testing regularly and need to down OSDs manually, but there are some OSDs can not be marked down,and there is no obvious information. the log { dout(5) << "can_mark_down current up_ratio " << up_ratio << " < min "<< g_conf->mon_osd_min_up_ratio<< ", will not mark osd." << i << " down" << dendl; }" can explain why it happened. In addition, we can change the value of mon_osd_min_up_ratio more reasonable in our operating environment. so it is necessary to adjust the log's level lower. forexample: there are 6 OSDs ,wen have marked down 5 of them and the mon_osd_min_up_ratio = 0.3. In this situation, when we mark the last OSD to down,it will show "ceph-osd stop/waiting", but in actually, the OSD is still up. Signed-off-by: Yongqiang He <he.yongqiang@h3c.com>
- Loading branch information