]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Revert "rgw: update last_added_entry when count == num_entries" 52866/head
authorJ. Eric Ivancich <ivancich@redhat.com>
Thu, 3 Aug 2023 16:50:13 +0000 (12:50 -0400)
committerJ. Eric Ivancich <ivancich@redhat.com>
Mon, 7 Aug 2023 20:02:09 +0000 (16:02 -0400)
This reverts commit 7511f9f675ea4e43992605dc03109bc5f356a5e1.

Signed-off-by: J. Eric Ivancich <ivancich@redhat.com>
src/rgw/driver/rados/rgw_rados.cc

index b714cbd566018cc80b54cdae1c766408647414bc..3ed4c94a08e2b18da91f83ff8b1d99350fc85710 100644 (file)
@@ -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 \"" <<