RGWPutObjProcessor_Atomic processor(obj_ctx,
dest_bucket_info, dest_obj.bucket, dest_obj.get_orig_obj(),
cct->_conf->rgw_obj_stripe_size, tag, dest_bucket_info.versioning_enabled());
- processor.set_version_id(dest_obj.get_instance());
+ const string& instance = dest_obj.get_instance();
+ if (instance != "null") {
+ processor.set_version_id(dest_obj.get_instance());
+ }
processor.set_olh_epoch(olh_epoch);
int ret = processor.prepare(this, NULL);
if (ret < 0) {