Project

General

Profile

Bug #12913

rgw: bucket listing hangs on versioned buckets

Added by Yehuda Sadeh over 7 years ago. Updated almost 7 years ago.

Status:
Resolved
Priority:
Urgent
Target version:
-
% Done:

0%

Source:
Community (user)
Tags:
Backport:
hammer
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

The bucket listing pagination does not work correctly with versioned buckets, specifically if the number of consecutive invisible entries is higher than the max-keys limit.


Related issues

Copied to rgw - Backport #13536: rgw: bucket listing hangs on versioned buckets Resolved

Associated revisions

Revision ef973051 (diff)
Added by Yehuda Sadeh about 7 years ago

cls_rgw: fix bucket listing when dealing with invisible entries

Fixes: #12913

The bucket listing logic was broken when dealing with invisible entries.
Need to read keys until we can fetch all the requested entries, or
determine that there are no more entries. Anything else requires
a change to the protocol.

Signed-off-by: Yehuda Sadeh <>

Revision e693755a (diff)
Added by Yehuda Sadeh about 7 years ago

cls_rgw: fix bucket listing when dealing with invisible entries

Fixes: #12913

The bucket listing logic was broken when dealing with invisible entries.
Need to read keys until we can fetch all the requested entries, or
determine that there are no more entries. Anything else requires
a change to the protocol.

Signed-off-by: Yehuda Sadeh <>
(cherry picked from commit ef9730515e001d77637a77eb89950f70fd5e7f5a)

History

#1 Updated by Yehuda Sadeh about 7 years ago

  • Status changed from 12 to Fix Under Review
  • Assignee changed from Yehuda Sadeh to Daniel Gryniewicz

#2 Updated by Yehuda Sadeh about 7 years ago

  • Status changed from Fix Under Review to Pending Backport

#3 Updated by Loïc Dachary almost 7 years ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF