From: J. Eric Ivancich Date: Thu, 3 Aug 2023 16:50:13 +0000 (-0400) Subject: Revert "rgw: update last_added_entry when count == num_entries" X-Git-Tag: v19.0.0~534^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=81d5bb74d7cd77033f9ab031fff99999e80f4a58;p=ceph.git Revert "rgw: update last_added_entry when count == num_entries" This reverts commit 7511f9f675ea4e43992605dc03109bc5f356a5e1. Signed-off-by: J. Eric Ivancich --- diff --git a/src/rgw/driver/rados/rgw_rados.cc b/src/rgw/driver/rados/rgw_rados.cc index b714cbd56601..3ed4c94a08e2 100644 --- a/src/rgw/driver/rados/rgw_rados.cc +++ b/src/rgw/driver/rados/rgw_rados.cc @@ -9429,7 +9429,6 @@ int RGWRados::cls_bucket_list_unordered(const DoutPrefixProvider *dpp, ent_list.emplace_back(std::move(dirent)); ++count; } else { - last_added_entry = dirent.key; *is_truncated = true; ldpp_dout(dpp, 10) << "INFO: " << __func__ << ": reached max entries (" << num_entries << ") to return at \"" <<