]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw multisite: fix single-part-MPU object etag misidentify problem 38885/head
authorYang Honggang <yanghonggang@kuaishou.com>
Fri, 19 Feb 2021 05:56:13 +0000 (05:56 +0000)
committerYang Honggang <yanghonggang@kuaishou.com>
Sat, 20 Feb 2021 10:49:59 +0000 (18:49 +0800)
commit65db8c4958f77f5e9214d56a8c8773da71426ac7
tree0e52cc90da70e50c502426bb60b44f6985949778
parent08a3e6ecdd34359ead175399a431172226968d82
rgw multisite: fix single-part-MPU object etag misidentify problem

The single-part-MPU object is treated as a Atomic object.
Because its part_size is 0.

As MPU object's start_part_num is not 0 which can be used to
distinguish MPU object and Atomic object.

Fixes: https://tracker.ceph.com/issues/49357
Signed-off-by: Yang Honggang <yanghonggang@kuaishou.com>
(cherry picked from commit 63f989ca2bdc43142713b5da1eee2668ba238716)
src/rgw/rgw_etag_verifier.cc