Bug #21500
closedlist bucket which enable versioning get wrong result when user marker
0%
Description
hi,
when enable bucket versioning and upload 1.jpg 2.jpg 3.jpg to the empty bucket and then list bucket with marker 2.jpg,the return result will contain 2.jpg, as follows:
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<Name>versionmarker2</Name>
<Prefix/>
<Marker>2.jpg</Marker>
<MaxKeys>1000</MaxKeys>
<IsTruncated>false</IsTruncated>
<Contents>
<Key>2.jpg</Key>
<LastModified>2017-09-21T10:12:15.639Z</LastModified>
<ETag>"690a12ad1736d2eb0b01b545bb6db887"</ETag>
<Size>143126</Size>
<StorageClass>STANDARD</StorageClass>
<Owner>
<ID>b44859444312440f8caa39cfc887de81</ID>
<DisplayName>baomihua02</DisplayName>
</Owner>
</Contents>
<Contents>
<Key>3.jpg</Key>
<LastModified>2017-09-21T10:12:24.144Z</LastModified>
<ETag>"690a12ad1736d2eb0b01b545bb6db887"</ETag>
<Size>143126</Size>
<StorageClass>STANDARD</StorageClass>
<Owner>
<ID>b44859444312440f8caa39cfc887de81</ID>
<DisplayName>baomihua02</DisplayName>
</Owner>
</Contents>
</ListBucketResult>
while in amazon s3
it return
<ListBucketResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<Name>versionmarker</Name>
<Prefix/>
<Marker>2.jpg</Marker>
<MaxKeys>1000</MaxKeys>
<IsTruncated>false</IsTruncated>
<Contents>
<Key>3.jpg</Key>
<LastModified>2017-09-21T10:01:19.000Z</LastModified>
<ETag>"690a12ad1736d2eb0b01b545bb6db887"</ETag>
<Size>143126</Size>
<Owner>
<ID>d8c826aaaa5812a67e0b5ad7a7cc8e03f91e2917d9ae0418c8b2532383745e3c</ID>
<DisplayName>cmsscloud</DisplayName>
</Owner>
<StorageClass>STANDARD</StorageClass>
</Contents>
</ListBucketResult>
Updated by joke lee over 6 years ago
this fix the problom https://github.com/ceph/ceph/pull/17934
Updated by Casey Bodley over 6 years ago
- Project changed from Ceph to rgw
- Category deleted (
22) - Status changed from New to 7
- Priority changed from Normal to High
- Backport set to jewel luminous
on merge and backport, we'll also need to merge/backport the s3test at https://github.com/ceph/s3-tests/pull/189
Updated by Yuri Weinstein over 6 years ago
Updated by Yehuda Sadeh over 6 years ago
- Status changed from 7 to Pending Backport
Updated by Anonymous over 6 years ago
- Copied to Backport #21939: luminous: list bucket which enable versioning get wrong result when user marker added
Updated by Nathan Cutler over 6 years ago
- Copied to Backport #21954: jewel: list bucket which enable versioning get wrong result when user marker added
Updated by Ken Dreyer over 6 years ago
- Target version changed from v10.2.10 to v13.0.0
Updated by Nathan Cutler about 6 years ago
- Status changed from Pending Backport to Resolved