Project

General

Profile

Actions

Bug #51462

closed
JI JI

rgw: resolve empty ordered bucket listing results w/ CLS filtering

Bug #51462: rgw: resolve empty ordered bucket listing results w/ CLS filtering

Added by J. Eric Ivancich over 5 years ago. Updated over 1 year ago.

Status:
Resolved
Priority:
High
Target version:
Due date:
% Done:

100%

Source:
Backport:
octopus, pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Fixed In:
v17.0.0-6707-ge2a9a741bc
Released In:
v17.2.0~1257
Upkeep Timestamp:
2025-07-14T17:46:29+00:00

Description

Bucket listing filtering was moved from the RGW layer to the CLS layer to improve efficiency. However currently if there are enough entries that are filtered out, the CLS call may return zero entries back to RGW. Since we did not mark how far we got, calling it again will yield the same result, causing the process to be stuck and fail.


Related issues 2 (0 open — 2 closed)

Copied to rgw - Backport #52075: pacific: rgw: resolve empty ordered bucket listing results w/ CLS filteringResolvedDan van der Ster

Actions
Copied to rgw - Backport #52076: octopus: rgw: resolve empty ordered bucket listing results w/ CLS filteringResolvedDan van der Ster

Actions

JI Updated by J. Eric Ivancich over 5 years ago Actions #1

  • Subject changed from rgw: resolve broken listing to rgw: resolve empty ordered bucket listing results w/ CLS filtering

JI Updated by J. Eric Ivancich over 5 years ago Actions #2

  • Description updated (diff)

CB Updated by Casey Bodley over 5 years ago Actions #3

  • Status changed from In Progress to Fix Under Review

CB Updated by Casey Bodley over 5 years ago Actions #4

  • Status changed from Fix Under Review to Pending Backport

UB Updated by Upkeep Bot over 5 years ago Actions #5

  • Copied to Backport #52075: pacific: rgw: resolve empty ordered bucket listing results w/ CLS filtering added

UB Updated by Upkeep Bot over 5 years ago Actions #6

  • Copied to Backport #52076: octopus: rgw: resolve empty ordered bucket listing results w/ CLS filtering added

DV Updated by Dan van der Ster almost 5 years ago Actions #7

Hi, I found this via https://bugzilla.redhat.com/show_bug.cgi?id=1975939 -- after upgrading from 14.2.21 to 15.2.15 we have one bucket which the user cannot list. On the rgws we have lots of ERROR marker failed to make forward progress:

2022-02-18T01:09:54.996+0100 7f847946c700  0 RGWRados::Bucket::List::list_objects_ordered: ERROR marker failed to make forward progress; attempt=2, prev_marker=docker/registry/v2/repositories/acc-co/docker/acc-base-images/acc_cc7/_manifests/tags/20201119/current/link, cur_marker=docker/registry/v2/repositories/acc-co/docker/acc-base-images/acc_cc7/_manifests/tags/20201119/current/link
2022-02-18T01:09:58.594+0100 7f8498d2c700  0 RGWRados::Bucket::List::list_objects_ordered: ERROR marker failed to make forward progress; attempt=3, prev_marker=docker/registry/v2/repositories/acc-co/docker/acc-base-images/acc_cc7/_manifests/tags/20201129/current/link[wS0hQgJWFFNPJ-Ve.tSv5fNYepi-XkD], cur_marker=docker/registry/v2/repositories/acc-co/docker/acc-base-images/acc_cc7/_manifests/tags/20201129/current/link[wS0hQgJWFFNPJ-Ve.tSv5fNYepi-XkD]
2022-02-18T01:10:13.969+0100 7f8504006700  0 RGWRados::Bucket::List::list_objects_ordered: ERROR marker failed to make forward progress; attempt=3, prev_marker=docker/registry/v2/repositories/acc-co/docker/acc-base-images/acc_cc7_jdk8/_manifests/tags/20201129/current/link[euGwo3OfQOute7NaT1XMVjW19VKkYBI], cur_marker=docker/registry/v2/repositories/acc-co/docker/acc-base-images/acc_cc7_jdk8/_manifests/tags/20201129/current/link[euGwo3OfQOute7NaT1XMVjW19VKkYBI]
2022-02-18T01:10:16.474+0100 7f84a5545700  0 RGWRados::Bucket::List::list_objects_ordered: ERROR marker failed to make forward progress; attempt=3, prev_marker=docker/registry/v2/repositories/acc-co/docker/acc-base-images/acc_cc7_jdkmulti/_manifests/tags/20201119/current/link[HO9TWgG9HxdwIncLUaDhzxmgqx0z4vZ], cur_marker=docker/registry/v2/repositories/acc-co/docker/acc-base-images/acc_cc7_jdkmulti/_manifests/tags/20201119/current/link[HO9TWgG9HxdwIncLUaDhzxmgqx0z4vZ]
...

The octopus backport looks non-trivial, but we'll try it. (OTOH it applies cleanly to pacific).
Do you think this PR#42125 is likely to fix?

KS Updated by Konstantin Shalygin about 4 years ago Actions #10

  • Status changed from Pending Backport to Resolved
  • % Done changed from 0 to 100

UB Updated by Upkeep Bot over 1 year ago Actions #11

  • Merge Commit set to e2a9a741bc2488b5390ba26f2e90098888ec2295
  • Fixed In set to v17.0.0-6707-ge2a9a741bc
  • Released In set to v17.2.0~1257
  • Upkeep Timestamp set to 2025-07-14T17:46:29+00:00
Actions

Also available in: PDF Atom