]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: update last_added_entry when count == num_entries 45458/head
authorPeng Zhang <zhangpeng@vclusters.com>
Fri, 2 Jul 2021 06:13:50 +0000 (14:13 +0800)
committerCory Snyder <csnyder@iland.com>
Wed, 16 Mar 2022 18:27:32 +0000 (14:27 -0400)
commit9300c9f5e068a3e34686c848675d4895bf02453a
treea2942e077b9b67d861c1e4714149a7adc362a50b
parent065c9d29f7426c283cf80fed433ed59efc43fe5e
rgw: update last_added_entry when count == num_entries

RGWRados::cls_bucket_list_unordered() will produce one redundent entry
every time is_truncated is true.The issue could be easily reproduced
when a bucket is filled with amounts of incomplete multipart upload.
To be more specific, the number of incomplete multipart upload objects
should be greater than 1100.

Signed-off-by: Peng Zhang <zhangpeng@vclusters.com>
(cherry picked from commit 7511f9f675ea4e43992605dc03109bc5f356a5e1)
src/rgw/rgw_rados.cc