]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: update last_added_entry when count == num_entries 42151/head
authorPeng Zhang <zhangpeng@vclusters.com>
Fri, 2 Jul 2021 06:13:50 +0000 (14:13 +0800)
committerPeng Zhang <zhangpeng@vclusters.com>
Fri, 2 Jul 2021 06:13:50 +0000 (14:13 +0800)
commit7511f9f675ea4e43992605dc03109bc5f356a5e1
tree95464a6dec9cf4d130d69cf5273738c47c60263e
parentd82a565f0e4371ea3a47c9d643f45c52311422ba
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>
src/rgw/rgw_rados.cc