]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: correct log output for metadata section name in RGWListBucketIndexesCR 19508/head
authorXinying Song <songxinying@cloudin.cn>
Thu, 14 Dec 2017 06:26:17 +0000 (14:26 +0800)
committerXinying Song <songxinying@cloudin.cn>
Thu, 14 Dec 2017 06:44:11 +0000 (14:44 +0800)
Signed-off-by: Xinying Song <songxinying@cloudin.cn>
src/rgw/rgw_data_sync.cc

index 6d3f01d40ebe888a877b5cc6eda38c229925e9b4..e35b533f18702e6830ec920a8737436b8550339c 100644 (file)
@@ -763,7 +763,7 @@ public:
                                                       entrypoint, NULL, &result));
       }
       if (retcode < 0) {
-        ldout(sync_env->cct, 0) << "ERROR: failed to fetch metadata for section bucket.index" << dendl;
+        ldout(sync_env->cct, 0) << "ERROR: failed to fetch metadata for section bucket.instance" << dendl;
         return set_cr_error(retcode);
       }
       entries_index = new RGWShardedOmapCRManager(sync_env->async_rados, store, this, num_shards,
@@ -771,7 +771,7 @@ public:
                                                   oid_prefix);
       yield; // yield so OmapAppendCRs can start
       for (iter = result.begin(); iter != result.end(); ++iter) {
-        ldout(sync_env->cct, 20) << "list metadata: section=bucket.index key=" << *iter << dendl;
+        ldout(sync_env->cct, 20) << "list metadata: section=bucket.instance key=" << *iter << dendl;
 
         key = *iter;