]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix loop problem with swift stat on account. 36185/head
authorMarcus Watts <mwatts@redhat.com>
Tue, 10 Mar 2020 04:34:01 +0000 (00:34 -0400)
committerNathan Cutler <ncutler@suse.com>
Sat, 18 Jul 2020 20:19:02 +0000 (22:19 +0200)
commitc355966fddc520804e74ec88c00c52b723dba5a2
treed5f9f189a7b5cb85274ea3eaa449cb3697f373c5
parentebb3b88fa355f722566c51bd067c51fed0e1c497
rgw: fix loop problem with swift stat on account.

Loop logic in RGWStatAccount::execute was failing to change the
marker before repeating a call to rgw_read_user_buckets().  This resulted
that in the case that a user had more than 1000 buckets, this routine
would loop forever.

Fixes: https://tracker.ceph.com/issues/44671
Signed-off-by: Marcus Watts <mwatts@redhat.com>
(cherry picked from commit c9f3cf6ed6a649812d47dc1fa1357ae0749dbcbf)

Conflicts:
src/rgw/rgw_op.cc
src/rgw/rgw_op.cc