]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix minimum of unordered bucket listing 29777/head
authorJ. Eric Ivancich <ivancich@redhat.com>
Wed, 4 Sep 2019 14:02:32 +0000 (10:02 -0400)
committerJ. Eric Ivancich <ivancich@redhat.com>
Thu, 12 Sep 2019 15:17:22 +0000 (11:17 -0400)
commiteb0f88e93d71023872ff6261d061e3cb41cbe2bb
tree81e7718a0edd964c53fb258c38e25829d5fa4dfd
parentc95758b97e024dfaaa0ba9e2dda36f423505ca1b
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>
(cherry picked from commit 38e02a7157d4c534cc9fd8ccfe20fdd93a9b07a8)
src/rgw/rgw_rados.cc