From: Casey Bodley Date: Fri, 1 Dec 2023 18:46:20 +0000 (-0500) Subject: rgw/sysobj: pool_list_objects_init() initializes marker X-Git-Tag: v19.3.0~387^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c53a6e7dd2e7caa6b52a47dbd896a2df7bfc1746;p=ceph.git rgw/sysobj: pool_list_objects_init() initializes marker Fixes: https://tracker.ceph.com/issues/63717 Signed-off-by: Casey Bodley --- diff --git a/src/rgw/services/svc_sys_obj_core.cc b/src/rgw/services/svc_sys_obj_core.cc index fb9c7edce238..397709c5d999 100644 --- a/src/rgw/services/svc_sys_obj_core.cc +++ b/src/rgw/services/svc_sys_obj_core.cc @@ -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(prefix); + _ctx->impl.emplace(prefix, marker); auto& ctx = static_cast(*_ctx->impl); diff --git a/src/rgw/services/svc_sys_obj_core_types.h b/src/rgw/services/svc_sys_obj_core_types.h index 404f0fdde686..a7b6aed08429 100644 --- a/src/rgw/services/svc_sys_obj_core_types.h +++ b/src/rgw/services/svc_sys_obj_core_types.h @@ -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) {} };