Skip to content

s3: test listing when object has lots of versions #629

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

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

cbodley
Copy link
Contributor

@cbodley cbodley commented Mar 11, 2025

this is the minimal reproducer i could find for https://tracker.ceph.com/issues/70399, but requires custom config for
rgw:

rgw_list_bucket_min_readahead = 1
rgw_override_bucket_index_max_shards = 1

cbodley added 2 commits March 11, 2025 17:24
resolves an error from nuke_bucket() when there are lots of object
versions to delete:

> An error occurred (BucketNotEmpty) when calling the DeleteBucket operation

the problem is that we tried to continue ListObjectVersions from the
LastVersionIdMarker of the previous listing, but that version had been
deleted by DeleteObjects. as a result, ListObjectVersions doesn't know
where to resume so skips some entries. this is probably a ceph/rgw bug

Signed-off-by: Casey Bodley <[email protected]>
this is the minimal reproducer i could find for
https://tracker.ceph.com/issues/70399, but requires custom config for
rgw:
> rgw_list_bucket_min_readahead = 1
> rgw_override_bucket_index_max_shards = 1

Signed-off-by: Casey Bodley <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants