diff options
author | J. Eric Ivancich <ivancich@redhat.com> | 2024-07-18 22:02:58 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-18 22:02:58 +0200 |
commit | f0f381071253c59ffd89cd9261c6650488fbdece (patch) | |
tree | d1c7269053ac3da110258df9af5b5974b9560170 /src/rgw/driver/rados/rgw_rados.cc | |
parent | Merge pull request #56937 from Svelar/asan_bluestore_type (diff) | |
parent | qa/multisite: add copy_object tests (diff) | |
download | ceph-f0f381071253c59ffd89cd9261c6650488fbdece.tar.xz ceph-f0f381071253c59ffd89cd9261c6650488fbdece.zip |
Merge pull request #58519 from smanjara/wip-fix-copy-obj-replication
rgw/multisite: don't retain RGW_ATTR_OBJ_REPLICATION_TRACE attr on copy_object
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Diffstat (limited to 'src/rgw/driver/rados/rgw_rados.cc')
-rw-r--r-- | src/rgw/driver/rados/rgw_rados.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rgw/driver/rados/rgw_rados.cc b/src/rgw/driver/rados/rgw_rados.cc index 74684bec1ee..2b408dbb369 100644 --- a/src/rgw/driver/rados/rgw_rados.cc +++ b/src/rgw/driver/rados/rgw_rados.cc @@ -4724,6 +4724,10 @@ int RGWRados::copy_obj(RGWObjectCtx& obj_ctx, src_attrs.erase(RGW_ATTR_OLH_VER); } + src_attrs.erase(RGW_ATTR_OBJ_REPLICATION_TRACE); + src_attrs.erase(RGW_ATTR_OBJ_REPLICATION_TIMESTAMP); + src_attrs.erase(RGW_ATTR_OBJ_REPLICATION_STATUS); + set_copy_attrs(src_attrs, attrs, attrs_mod); attrs.erase(RGW_ATTR_ID_TAG); attrs.erase(RGW_ATTR_PG_VER); |