]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
RGW/multisite: bucket_list_result object provides a method to reset its entries
authorOguzhan Ozmen <oozmen@bloomberg.net>
Tue, 11 Nov 2025 16:14:41 +0000 (16:14 +0000)
committerOguzhan Ozmen <oozmen@bloomberg.net>
Thu, 19 Mar 2026 19:57:12 +0000 (19:57 +0000)
commit3063a3c537f634d2f8ebb333f7ebc2c50bb0b5de
treee8d039914da62dbbe690d2e31ef0b8a37b0eb378
parent00ca82828865405d849a74074810c5f7868e91e8
RGW/multisite: bucket_list_result object provides a method to reset its entries

Add a new method `reset_entries()` to the `bucket_list_result` struct
that clears the list of entries and resets the truncated flag.

This would be used to enhance the re-use cases to avoid accessing stale
entries or truncated flag.

Signed-off-by: Oguzhan Ozmen <oozmen@bloomberg.net>
(cherry picked from commit ae59eac57f2cdc7784f413c86dff99f27382bacb)
src/rgw/driver/rados/rgw_data_sync.cc