]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rgw: bucket_list_ordered advances past duplicate common prefixes
authorCasey Bodley <cbodley@redhat.com>
Fri, 28 Feb 2020 16:06:32 +0000 (11:06 -0500)
committerCasey Bodley <cbodley@redhat.com>
Fri, 28 Feb 2020 18:02:54 +0000 (13:02 -0500)
commit81cfd5da3f7e6d889e6440c23227d8e78c8aa06f
tree8579f593853ef6fceba43b2f747d89a937e92094
parent6fc2eab9af505ef9a0e9ef17ee6dfbcad6a6da17
rgw: bucket_list_ordered advances past duplicate common prefixes

we may see the same common prefix from more than one shard. when we
detect a duplicate, we need to advance past it. otherwise, we may make
the wrong decision about is_truncated because the shards with
duplicates won't be at_end()

Fixes: https://tracker.ceph.com/issues/44353
Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_rados.cc