summaryrefslogtreecommitdiff
path: root/src/rgw/rgw_rados.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/rgw/rgw_rados.cc')
-rw-r--r--src/rgw/rgw_rados.cc4
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;