From 9cd74053b8bd95d3dee6cac6723cb051768865c3 Mon Sep 17 00:00:00 2001 From: Daniel Gryniewicz Date: Thu, 1 Apr 2021 14:24:09 -0400 Subject: [PATCH] RGW Zipper - Make sure bucket list progresses The bucket list wrapper lost the automatic advancement of the marker for each iteration. Some places manually set that marker, and it worked fine, but some depended on it being automatically set. Fix it so that the marker advances automatically each iteration. Signed-off-by: Daniel Gryniewicz --- src/rgw/rgw_sal_rados.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rgw/rgw_sal_rados.cc b/src/rgw/rgw_sal_rados.cc index cf21f4fa86f62..45c43ee3f3525 100644 --- a/src/rgw/rgw_sal_rados.cc +++ b/src/rgw/rgw_sal_rados.cc @@ -569,6 +569,7 @@ int RGWRadosBucket::list(const DoutPrefixProvider *dpp, ListParams& params, int int ret = list_op.list_objects(dpp, max, &results.objs, &results.common_prefixes, &results.is_truncated, y); if (ret >= 0) { results.next_marker = list_op.get_next_marker(); + params.marker = results.next_marker; } return ret; -- 2.39.5