]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: bucket_list_ordered loops until it gets a unique candidate
authorCasey Bodley <cbodley@redhat.com>
Fri, 28 Feb 2020 17:49:58 +0000 (12:49 -0500)
committerCasey Bodley <cbodley@redhat.com>
Fri, 28 Feb 2020 18:02:54 +0000 (13:02 -0500)
commitbcc1bcf5e6f4c6a58b0c0bd7a5b290cec463b10d
treee8cccb63ba76cd032eec0cde23e2ff7a9b726477
parent81cfd5da3f7e6d889e6440c23227d8e78c8aa06f
rgw: bucket_list_ordered loops until it gets a unique candidate

when we detect a duplicate common prefix, we need to loop until we get
the next unique candidate. we must add a new candidate for each shard,
or we won't visit it again and would miss later entries

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