]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw/sysobj: pool_list_objects_init() initializes marker
authorCasey Bodley <cbodley@redhat.com>
Fri, 1 Dec 2023 18:46:20 +0000 (13:46 -0500)
committerCasey Bodley <cbodley@redhat.com>
Fri, 1 Dec 2023 18:46:24 +0000 (13:46 -0500)
Fixes: https://tracker.ceph.com/issues/63717
Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/services/svc_sys_obj_core.cc
src/rgw/services/svc_sys_obj_core_types.h

index fb9c7edce238216c50cd2f8c954661e5cfc8ccc3..397709c5d99974c1dff5c5787b84e40325447a6d 100644 (file)
@@ -612,7 +612,7 @@ int RGWSI_SysObj_Core::pool_list_objects_init(const DoutPrefixProvider *dpp,
                                               const string& prefix,
                                               RGWSI_SysObj::Pool::ListCtx *_ctx)
 {
-  _ctx->impl.emplace<PoolListImplInfo>(prefix);
+  _ctx->impl.emplace<PoolListImplInfo>(prefix, marker);
 
   auto& ctx = static_cast<PoolListImplInfo&>(*_ctx->impl);
 
index 404f0fdde686e0a6c809d4592adf4b4629da9d1c..a7b6aed08429fd27753ca07b7ba16dd1a6559020 100644 (file)
@@ -30,6 +30,7 @@ struct RGWSI_SysObj_Core_PoolListImplInfo : public RGWSI_SysObj_Pool_ListInfo {
   rgw::AccessListFilter filter;
   std::string marker;
 
-  RGWSI_SysObj_Core_PoolListImplInfo(const std::string& prefix)
-    : filter(rgw::AccessListFilterPrefix(prefix)) {}
+  RGWSI_SysObj_Core_PoolListImplInfo(const std::string& prefix,
+                                     const std::string& marker)
+    : filter(rgw::AccessListFilterPrefix(prefix)), marker(marker) {}
 };