From a8eea5210cb50611d51f9937ab5bb28b77b9d9cf Mon Sep 17 00:00:00 2001 From: Yehuda Sadeh Date: Mon, 21 Jan 2019 15:11:23 -0800 Subject: [PATCH] rgw: fixes following code review Signed-off-by: Yehuda Sadeh --- doc/radosgw/archive-sync-module.rst | 2 +- src/rgw/rgw_bucket.cc | 2 +- src/rgw/rgw_data_sync.cc | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/radosgw/archive-sync-module.rst b/doc/radosgw/archive-sync-module.rst index e3130e82f0be1..31b5ce37c03c6 100644 --- a/doc/radosgw/archive-sync-module.rst +++ b/doc/radosgw/archive-sync-module.rst @@ -2,7 +2,7 @@ Archive Sync Module =================== -.. versionadded:: Mimic +.. versionadded:: Nautilus This sync module leverages the versioning feature of the S3 objects in RGW to have an archive zone that captures the different versions of the S3 objects diff --git a/src/rgw/rgw_bucket.cc b/src/rgw/rgw_bucket.cc index 55c4995174a38..e73efee7fa359 100644 --- a/src/rgw/rgw_bucket.cc +++ b/src/rgw/rgw_bucket.cc @@ -2545,7 +2545,7 @@ WRITE_CLASS_ENCODER(archive_meta_info) class RGWArchiveBucketMetadataHandler : public RGWBucketMetadataHandler { public: int remove(RGWRados *store, string& entry, RGWObjVersionTracker& objv_tracker) override { - ldout(store->ctx(), 0) << "SKIP: bucket removal is not allowed on archive zone: bucket:" << entry << " ... proceeding to rename" << dendl; + ldout(store->ctx(), 5) << "SKIP: bucket removal is not allowed on archive zone: bucket:" << entry << " ... proceeding to rename" << dendl; string tenant_name, bucket_name; parse_bucket(entry, &tenant_name, &bucket_name); diff --git a/src/rgw/rgw_data_sync.cc b/src/rgw/rgw_data_sync.cc index 7986565c8eaac..68218082a9344 100644 --- a/src/rgw/rgw_data_sync.cc +++ b/src/rgw/rgw_data_sync.cc @@ -1720,7 +1720,7 @@ int RGWArchiveSyncModule::create_instance(CephContext *cct, const JSONFormattabl RGWCoroutine *RGWArchiveDataSyncModule::sync_object(RGWDataSyncEnv *sync_env, RGWBucketInfo& bucket_info, rgw_obj_key& key, std::optional versioned_epoch, rgw_zone_set *zones_trace) { - ldout(sync_env->cct, 0) << "SYNC_ARCHIVE: sync_object: b=" << bucket_info.bucket << " k=" << key << " versioned_epoch=" << versioned_epoch.value_or(0) << dendl; + ldout(sync_env->cct, 5) << "SYNC_ARCHIVE: sync_object: b=" << bucket_info.bucket << " k=" << key << " versioned_epoch=" << versioned_epoch.value_or(0) << dendl; if (!bucket_info.versioned() || (bucket_info.flags & BUCKET_VERSIONS_SUSPENDED)) { ldout(sync_env->cct, 0) << "SYNC_ARCHIVE: sync_object: enabling object versioning for archive bucket" << dendl; -- 2.39.5