Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pacific: rgw: Fix truncated ListBuckets response. #49526

Merged
merged 1 commit into from Nov 28, 2023

Conversation

dang
Copy link
Contributor

@dang dang commented Dec 20, 2022

backport tracker: https://tracker.ceph.com/issues/58234


backport of #48559
parent tracker: https://tracker.ceph.com/issues/57901

this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/main/src/script/ceph-backport.sh

Commit 54b470f caused s3:ListBuckets to
return a maximum of 1000 buckets by default as it removed the truncation
detection from this code. We can fix this by simply setting
RGWListBuckets::is_truncated after querying for each batch of buckets.

Signed-off-by: Joshua Baergen <jbaergen@digitalocean.com>
(cherry picked from commit 4bf0512)
@dang dang added this to the pacific milestone Dec 20, 2022
@dang dang added the rgw label Dec 20, 2022
@cbodley
Copy link
Contributor

cbodley commented Oct 24, 2023

jenkins test make check

@yuriw yuriw merged commit c42a1ab into ceph:pacific Nov 28, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants