X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=ceph%2Fsrc%2Frgw%2Frgw_metadata.cc;h=f81c4490ae82160d605346f72706b1e05145a824;hb=224ce89bce8186937e77bdbda572a650953f8c23;hp=5a286b4aeb67509c714342c8d0859753ce72e293;hpb=31f18b776d001752a193a7cec8bb49033c1a904c;p=ceph.git diff --git a/ceph/src/rgw/rgw_metadata.cc b/ceph/src/rgw/rgw_metadata.cc index 5a286b4ae..f81c4490a 100644 --- a/ceph/src/rgw/rgw_metadata.cc +++ b/ceph/src/rgw/rgw_metadata.cc @@ -150,12 +150,18 @@ int RGWMetadataLog::list_entries(void *handle, return 0; } + std::string next_marker; int ret = store->time_log_list(ctx->cur_oid, ctx->from_time, ctx->end_time, max_entries, entries, ctx->marker, - last_marker, truncated); + &next_marker, truncated); if ((ret < 0) && (ret != -ENOENT)) return ret; + ctx->marker = std::move(next_marker); + if (last_marker) { + *last_marker = ctx->marker; + } + if (ret == -ENOENT) *truncated = false;