]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
[RGW][Multisite] Add multisite verifier support for MPU objects
authorPrasad Krishnan <prasad.krishnan@flipkart.com>
Fri, 6 Mar 2020 05:08:05 +0000 (05:08 +0000)
committerYang Honggang <yanghonggang@kuaishou.com>
Wed, 10 Feb 2021 11:55:27 +0000 (19:55 +0800)
commitd631f3a318574798a90ea82a1d0334b2df50c67e
tree8de689acf2709255f484d23994ea9e615ded15e1
parentf1064169f38a2d674e8cac48cd17307ed859b962
[RGW][Multisite] Add multisite verifier support for MPU objects

The Etag for MPU objects is calculated using a method different from how
it is done for atomic objects. This patch makes use of the RGWObjManifest
to determine the parts in the source cluster and re-computes the ETag in
a similar fashion at the destination cluster during multisite sync for
verification.

Signed-off-by: Prasad Krishnan <prasad.krishnan@flipkart.com>
(cherry picked from commit 6f085bb9cb6cffddcf2eed18a7295a3dd59f755f)

Conflicts:
src/rgw/rgw_obj_manifest.h
src/rgw/rgw_rados.cc
src/rgw/rgw_rados.h