From: J. Eric Ivancich Date: Fri, 30 Nov 2018 19:35:28 +0000 (-0500) Subject: rgw: move all reshard config options out of legacy_config_options X-Git-Tag: v14.1.0~623^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=5e3a19edf44356fc4b43c42e92d3a9c6f4c9e399;p=ceph-ci.git rgw: move all reshard config options out of legacy_config_options With commit b713bb77a1d some rgw reshard config options were updated, but corresponding changes were not made to legacy_config_options. Since accesses to these config options were mixed (both modern and legacy) it led to some inconsistencies. So we remove the legacy options and made sure all accesses uses the modern convention/coding. Signed-off-by: J. Eric Ivancich --- diff --git a/src/common/legacy_config_opts.h b/src/common/legacy_config_opts.h index 2ee8f85936c..27f831882df 100644 --- a/src/common/legacy_config_opts.h +++ b/src/common/legacy_config_opts.h @@ -1537,13 +1537,6 @@ OPTION(rgw_swift_custom_header, OPT_STR) // option to enable swift custom header OPTION(rgw_swift_need_stats, OPT_BOOL) // option to enable stats on bucket listing for swift -/* resharding tunables */ -OPTION(rgw_reshard_num_logs, OPT_INT) -OPTION(rgw_reshard_bucket_lock_duration, OPT_INT) // duration of lock on bucket obj during resharding -OPTION(rgw_dynamic_resharding, OPT_BOOL) -OPTION(rgw_max_objs_per_shard, OPT_INT) -OPTION(rgw_reshard_thread_interval, OPT_U32) // maximum time between rounds of reshard thread processing - OPTION(rgw_acl_grants_max_num, OPT_INT) // According to AWS S3(http://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html), An ACL can have up to 100 grants. OPTION(rgw_cors_rules_max_num, OPT_INT) // According to AWS S3(http://docs.aws.amazon.com/AmazonS3/latest/dev/cors.html), An cors can have up to 100 rules. OPTION(rgw_delete_multi_obj_max_num, OPT_INT) // According to AWS S3(https://docs.aws.amazon.com/AmazonS3/latest/dev/DeletingObjects.html), Amazon S3 also provides the Multi-Object Delete API that you can use to delete up to 1000 objects in a single HTTP request. diff --git a/src/common/options.cc b/src/common/options.cc index 2ed6e83f71b..f6aed53705f 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -6375,7 +6375,7 @@ std::vector