OPTION(rgw_curl_low_speed_time, OPT_INT) // low speed time for certain curl calls
OPTION(rgw_copy_obj_progress, OPT_BOOL) // should dump progress during long copy operations?
OPTION(rgw_copy_obj_progress_every_bytes, OPT_INT) // min bytes between copy progress output
-OPTION(rgw_sync_obj_integrity, OPT_BOOL) // verify if the copied object from remote is identical to source
+OPTION(rgw_sync_obj_etag_verify, OPT_BOOL) // verify if the copied object from remote is identical to source
OPTION(rgw_obj_tombstone_cache_size, OPT_INT) // how many objects in tombstone cache, which is used in multi-zone sync to keep
// track of removed objects' mtime
.set_default(1_M)
.set_description("Send copy-object progress info after these many bytes"),
- Option("rgw_sync_obj_integrity", Option::TYPE_BOOL, Option::LEVEL_ADVANCED)
+ Option("rgw_sync_obj_etag_verify", Option::TYPE_BOOL, Option::LEVEL_ADVANCED)
.set_default(false)
.set_description("Verify if the object copied from remote is identical to its source")
.set_long_description(
* requested. We can enable simultaneous support once we have a mechanism
* to know the sequence in which the filters must be applied.
*/
- if (cct->_conf->rgw_sync_obj_integrity &&
+ if (cct->_conf->rgw_sync_obj_etag_verify &&
src_attrs.find(RGW_ATTR_CRYPT_MODE) == src_attrs.end()) {
RGWObjManifest manifest;
}
string get_calculated_etag() {
- if (!cct->_conf->rgw_sync_obj_integrity)
+ if (!cct->_conf->rgw_sync_obj_etag_verify)
return "";
if (is_mpu_obj) {
set_mtime_weight.init(set_mtime, svc.zone->get_zone_short_id(), pg_ver);
}
- if (cct->_conf->rgw_sync_obj_integrity) {
+ if (cct->_conf->rgw_sync_obj_etag_verify) {
string trimmed_etag = etag;
/* Remove the leading and trailing double quotes from etag */