]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix minimum of unordered bucket listing 30134/head
authorJ. Eric Ivancich <ivancich@redhat.com>
Wed, 4 Sep 2019 14:02:32 +0000 (10:02 -0400)
committerNathan Cutler <ncutler@suse.com>
Tue, 1 Oct 2019 13:22:03 +0000 (15:22 +0200)
commit934d4db2f0e3d5b919c77cb1bacfef2f7d9feb7e
tree7c95eed378bf5af0cea2a99c448ae3084015ffb9
parentf17ceada0a39933a7d41efa1fc0d81e48de3def4
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>
(manually cherry picked from 38e02a7157d4c534cc9fd8ccfe20fdd93a9b07a8)

Conflicts:
     src/srgw/rgw_rados.cc
- automated cherry-pick from master failed strangely: made the changes manually
src/rgw/rgw_rados.cc