]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: rgw_user_sync_all_stats() uses is_truncated() 36758/head
authorCasey Bodley <cbodley@redhat.com>
Fri, 21 Aug 2020 17:24:53 +0000 (13:24 -0400)
committerCasey Bodley <cbodley@redhat.com>
Fri, 21 Aug 2020 17:24:55 +0000 (13:24 -0400)
commitdefefcc20ac114bda41bddb371b2b1a67ee2e158
tree1232faa74902e669544cd5a81cb3615382513b7f
parentc8bfc66f2d9145732cb71182e11e735bd162d900
rgw: rgw_user_sync_all_stats() uses is_truncated()

rgw_user_sync_all_stats() was using a 'bool is_truncated = false;'
flag which never gets set, so it never looped past 1000 entries

RGWUser::list_buckets() exposes this truncated flag via
RGWBucketList.is_truncated(), so use that instead

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/rgw_user.cc