]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix minimum of unordered bucket listing 30146/head
authorJ. Eric Ivancich <ivancich@redhat.com>
Wed, 4 Sep 2019 14:02:32 +0000 (10:02 -0400)
committerJ. Eric Ivancich <ivancich@redhat.com>
Mon, 9 Sep 2019 19:17:18 +0000 (15:17 -0400)
commit38e02a7157d4c534cc9fd8ccfe20fdd93a9b07a8
tree9834a0c0bb254ab1f0150aaf764e2d57b0a5c202
parente1e962d28a913ac69ca183e7009e39efd2e072f2
rgw: fix minimum of unordered bucket listing

A recent PR made sure that a bucket listing could not request too many
entries at once. It also did a minimum computation for number of
entries. For ordered listing the minimum was 0, as required to pass
all unit tests. However the minimum for unordered listing was left at
1. In order to make ordered and unordered listing behave the same --
with the exception of ordering -- the minimum for unordered listing is
modified to 0.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
src/rgw/rgw_rados.cc