squid: rgw/multisite: don't retain RGW_ATTR_OBJ_REPLICATION_TRACE attr on copy_object#58763
squid: rgw/multisite: don't retain RGW_ATTR_OBJ_REPLICATION_TRACE attr on copy_object#58763cbodley merged 2 commits intoceph:squidfrom
Conversation
…during copy_object. if a copy_object is executed on a replicated object, it fails to sync the copied object to the original source zone where the source object was first written and replicated from. this is because copy_object retains source attrs by default. when a get_obj() is issued from a fetch_remote_obj() call during sync, we check for this RGW_ATTR_OBJ_REPLICATION_TRACE and if that destination zone is already present in the trace, we return NOT_MODIFIED error, thus failing to replicate the copied object. also remove RGW_ATTR_OBJ_REPLICATION_STATUS and RGW_ATTR_OBJ_REPLICATION_TIMESTAMP Signed-off-by: Shilpa Jagannath <smanjara@redhat.com> (cherry picked from commit 46eef5f)
Signed-off-by: Shilpa Jagannath <smanjara@redhat.com> (cherry picked from commit 204101c)
|
jenkins test make check |
|
jenkins test make check |
|
jenkins test make check |
|
jenkins test make check |
|
https://jenkins.ceph.com/job/ceph-pull-requests/140234/
|
|
jenkins test make check |
|
https://jenkins.ceph.com/job/ceph-pull-requests/140254/
|
|
jenkins test make check |
|
strange error from https://jenkins.ceph.com/job/ceph-pull-requests/140259/ |
|
jenkins test make check |
|
https://jenkins.ceph.com/job/ceph-pull-requests/140268/
|
|
jenkins test make check |
|
https://jenkins.ceph.com/job/ceph-pull-requests/140281/
|
|
jenkins test make check |
2 similar comments
|
jenkins test make check |
|
jenkins test make check |
backport tracker: https://tracker.ceph.com/issues/67025
backport of #58519
parent tracker: https://tracker.ceph.com/issues/66983
this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/main/src/script/ceph-backport.sh