]> 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>
Fri, 13 Feb 2026 03:47:49 +0000 (03:47 +0000)
commitae59eac57f2cdc7784f413c86dff99f27382bacb
tree280f6813ff3afd575ae555e8126cfc6320a5325c
parent3a9bf2c5cc700cfca0151953f7cb7378987d5f48
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