diff options
author | Yehuda Sadeh <yehuda@inktank.com> | 2013-08-26 11:16:08 -0700 |
---|---|---|
committer | Yehuda Sadeh <yehuda@inktank.com> | 2013-08-26 11:16:08 -0700 |
commit | e24262de88380aab25c6b4c21768c0d209e5168c (patch) | |
tree | c57847183bf205635c849d808d4aedf6fd890149 | |
parent | 4b529c8bceea98aaf69dceec3a4d1a239036d5d7 (diff) | |
download | ceph-e24262de88380aab25c6b4c21768c0d209e5168c.tar.gz |
rgw: quiet down warning messagewip-6123
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>
-rw-r--r-- | src/rgw/rgw_rados.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rgw/rgw_rados.cc b/src/rgw/rgw_rados.cc index 03cc1ebfdb3..bffa2d32885 100644 --- a/src/rgw/rgw_rados.cc +++ b/src/rgw/rgw_rados.cc @@ -893,7 +893,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; |