]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Revert "rgw: update last_added_entry when count == num_entries" 59337/head
authorJ. Eric Ivancich <ivancich@redhat.com>
Thu, 3 Aug 2023 16:50:13 +0000 (12:50 -0400)
committerKonstantin Shalygin <k0ste@k0ste.ru>
Tue, 20 Aug 2024 12:38:54 +0000 (19:38 +0700)
This reverts commit 7511f9f675ea4e43992605dc03109bc5f356a5e1.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
(cherry picked from commit 81d5bb74d7cd77033f9ab031fff99999e80f4a58)

src/rgw/rgw_rados.cc

index 157c5c993d23e9da6bfea537b117c41a3d7467e3..5dc5c540610b1d677106b514fbdd0838faf2b011 100644 (file)
@@ -9341,7 +9341,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 \"" <<