Project

General

Profile

Actions

Bug #47720

closed

rgw: radosgw-admin does not paginate internally when listing bucket

Added by J. Eric Ivancich over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Target version:
% Done:

0%

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

Description

Currently `radosgw-admin bucket list ...`, when listing a bucket, asks
for the value of "--max-entries" internally. To list a large bucket
entirely the user would have to set "--max-entries" to a large value
(e.g., 10000000). Internally this doesn't paginate, so it will try to
produce the entire list at once. This can consume a lot of memory, and
there are known cases where this induces an out-of-memory crash.


Related issues 2 (0 open2 closed)

Copied to rgw - Backport #47818: nautilus: rgw: radosgw-admin does not paginate internally when listing bucketResolvedNathan CutlerActions
Copied to rgw - Backport #47819: octopus: rgw: radosgw-admin does not paginate internally when listing bucketResolvedNathan CutlerActions
Actions

Also available in: Atom PDF