]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix unordered bucket listing when object names are adorned 26658/head
authorJ. Eric Ivancich <ivancich@redhat.com>
Tue, 26 Feb 2019 16:50:14 +0000 (11:50 -0500)
committerJ. Eric Ivancich <ivancich@redhat.com>
Fri, 8 Mar 2019 21:30:50 +0000 (16:30 -0500)
commit5309dd96519668d98dca0f8d0bcc5f56bd0fa334
tree9cece6f9cf8a9b84c00d139af00b0e5e40a24f13
parentbe47075b8ca54ef01034608e6cdab7c69f75f0d6
rgw: fix unordered bucket listing when object names are adorned

Namespaces, instances, and multipart metadata adorn object names and
are not used in the computation of an object's bucket index shard. The
logic for unordered bucket listing ignored these complexities, which
yielded incorrect results when dealing with such adorned object names.
Markers, for example, failed to continue an unordered bucket listing
where it left off and could sometimes cause listing loops.

The lifecycle rule dealing with multipart expiration exposed these
issues.

This commit makes unordered bucket listing handle these complexities.

Fixes: http://tracker.ceph.com/issues/38486
Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
src/rgw/rgw_rados.cc