]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix bug with (un)ordered bucket listing and marker w/ namespace
authorJ. Eric Ivancich <ivancich@redhat.com>
Fri, 31 Jan 2020 20:01:40 +0000 (15:01 -0500)
committerNathan Cutler <ncutler@suse.com>
Mon, 26 Oct 2020 17:44:10 +0000 (18:44 +0100)
commitab759fcd9a256cc641c7dacdc2c63b0ddc22a1ae
tree8b3f59a85f9ae7f2858957228bc2901cb86e1921
parenta2010cbc82ce53c909c3d230726d633f552e43a1
rgw: fix bug with (un)ordered bucket listing and marker w/ namespace

When listing without specifying a namespace, the returned entries
could be in one or more namespaces. The marker used to continue the
listing may therefore contain a namespace, and that needs to be
preserved. This fixes a bug in both ordered and unordered listings
where it was not preserved.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
(cherry picked from commit 9457abb729754458aafc07a9ee514407906a1011)

Conflicts:
src/rgw/rgw_rados.cc
- trivial whitespace
src/rgw/rgw_rados.cc