mirror of
https://github.com/ceph/ceph
synced 2025-03-25 11:48:05 +00:00
rgw: quiet down warning message
Fixes: #6123 We don't want to know about failing to read region map info if it's not found, only if failed on some other error. In any case it's just a warning. Signed-off-by: Yehuda Sadeh <yehuda@inktank.com> Reviewed-by: Sage Weil <sage@inktank.com>
This commit is contained in:
parent
409aba6ff5
commit
055e31359a
@ -897,7 +897,9 @@ int RGWRados::init_complete()
|
||||
|
||||
ret = region_map.read(cct, this);
|
||||
if (ret < 0) {
|
||||
ldout(cct, 0) << "WARNING: cannot read region map" << dendl;
|
||||
if (ret != -ENOENT) {
|
||||
ldout(cct, 0) << "WARNING: cannot read region map" << dendl;
|
||||
}
|
||||
ret = region_map.update(region);
|
||||
if (ret < 0) {
|
||||
ldout(cct, 0) << "ERROR: failed to update regionmap with local region info" << dendl;
|
||||
|
Loading…
Reference in New Issue
Block a user