summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rgw/rgw_rados.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rgw/rgw_rados.cc b/src/rgw/rgw_rados.cc
index 2fdcfe5bebd..b663ed2d41f 100644
--- a/src/rgw/rgw_rados.cc
+++ b/src/rgw/rgw_rados.cc
@@ -1319,6 +1319,7 @@ int RGWRados::copy_obj(void *ctx,
/* copying attrs from source, however acls should not be copied */
attrset[RGW_ATTR_ACL] = attrs[RGW_ATTR_ACL];
}
+ attrset.erase(RGW_ATTR_ID_TAG);
RGWObjManifest manifest;
RGWObjState *astate = NULL;