]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: update last_added_entry when count == num_entries 45457/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:18 +0000 (14:27 -0400)
commitdf5a056d3cf1f0ddd87cb5d35401cffc7e0ed28a
treeb62230ff4373554344205e2c9937406c3be6ad07
parent179a7bca8a84771b0dde09e26f7a2146a985df90
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