]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw/cloudtier : handle multisite sync for cloud objects
authorJiffin Tony Thottan <thottanjiffin@gmail.com>
Thu, 26 Sep 2024 12:03:05 +0000 (17:33 +0530)
committerJiffin Tony Thottan <thottanjiffin@gmail.com>
Tue, 18 Feb 2025 08:48:50 +0000 (14:18 +0530)
commit9efa1b97b0e693428ef52608317f289e73f565eb
treef73721a44b98f043e1ed1bdb64d65be4a9359d71
parent4244480c3b8d807eb541db3915d025e85dea494d
rgw/cloudtier : handle multisite sync for cloud objects

The cloud objects (restore/transitioned) are not handled properly for multisite scenarios.
We cannot rely on mtime for this usecase for syncing the object across the site.
Hence a xattr known as internal_mtime introduce and give weightage during multisite.

Signed-off-by: Jiffin Tony Thottan <thottanjiffin@gmail.com>
src/rgw/driver/motr/rgw_sal_motr.h
src/rgw/driver/rados/rgw_rados.cc
src/rgw/driver/rados/rgw_sal_rados.cc
src/rgw/radosgw-admin/radosgw-admin.cc
src/rgw/rgw_common.h
src/rgw/rgw_op.cc