]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.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>
Tue, 11 Nov 2025 20:10:29 +0000 (20:10 +0000)
commit911d0cb2bce2a613657a6aebcb9724cabc23d6eb
treefc61b7617a2e84c5980ae2601804a16dd4db7e1f
parent7e12bbc50b68ae045f7d30ecb440545672620090
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>
src/rgw/driver/rados/rgw_data_sync.cc