Repository navigation
rgw: treat -EFBIG as advance-and-retry in unordered listing - #65319
Conversation
|
I was not able to reproduce the issue myself, but I found the problem in a bucket with versioning enabled on a cluster running the pacific version. Before the patch After the patch |
679e679 to
ded92b3
Compare
|
@ivancich Could you take a look? |
ivancich
left a comment
There was a problem hiding this comment.
Before approving I just want to better understand how it's supposed to work.
ded92b3 to
2174d6e
Compare
|
Thanks! I've approved and added the |
|
pr testing completed and approved by @ivancich. Please find the details : https://tracker.ceph.com/issues/73371 |
|
@anrao19 No further testing is needed. Thanks! |
2174d6e to
8c1c13b
Compare
|
jenkins test api |
|
jenkins test docs |
|
jenkins test windows |
|
jenkins test docs |
1 similar comment
|
jenkins test docs |
The RGW cls bucket listing may return RGWBIAdvanceAndRetryError(-EFBIG) when it cannot return any visible entries in a call but has advanced the marker; callers are expected to retry with the updated marker. RGWRados::cls_bucket_list_unordered() treated this condition as a fatal error and aborted the listing, which could prematurely terminate listings for buckets with many non-visible entries. This change handles RGWBIAdvanceAndRetryError by advancing to the returned marker and continuing the loop, correctly interpreting it as "advance and retry." Fixes: https://tracker.ceph.com/issues/63721 Signed-off-by: PARK BEOMSEOK <[email protected]>
8c1c13b to
0d628a7
Compare
|
jenkins test windows |
|
This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days. |
|
Can one of the admins verify this patch? |
|
new build created and execution is in progress: https://tracker.ceph.com/issues/73732 |
|
Execution complete, tracker approved by @ivancich. tracker detail: https://tracker.ceph.com/issues/73732 |
|
@anrao19 Testing is complete and no further testing is needed. |
|
This is an automated message by src/script/redmine-upkeep.py. I found one or more
The referenced tickets are: Those tickets do not reference this merged Pull Request. If this Pull Request merge resolves any of those tickets, please update the "Pull Request ID" field on each ticket. A future run of this script will appropriately update them. |
The RGW cls bucket listing may return RGWBIAdvanceAndRetryError(-EFBIG) when it cannot return any visible entries in a call but has advanced the marker; callers are expected to retry with the updated marker.
RGWRados::cls_bucket_list_unordered() treated this condition as a fatal error and aborted the listing, which could prematurely terminate listings for buckets with many non-visible entries.
This change handles RGWBIAdvanceAndRetryError by advancing to the returned marker and continuing the loop, correctly interpreting it as "advance and retry."
Fixes: https://tracker.ceph.com/issues/63721
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins test classic perfJenkins Job | Jenkins Job Definitionjenkins test crimson perfJenkins Job | Jenkins Job Definitionjenkins test signedJenkins Job | Jenkins Job Definitionjenkins test make checkJenkins Job | Jenkins Job Definitionjenkins test make check arm64Jenkins Job | Jenkins Job Definitionjenkins test submodulesJenkins Job | Jenkins Job Definitionjenkins test dashboardJenkins Job | Jenkins Job Definitionjenkins test dashboard cephadmJenkins Job | Jenkins Job Definitionjenkins test apiJenkins Job | Jenkins Job Definitionjenkins test docsReadTheDocs | Github Workflow Definitionjenkins test ceph-volume allJenkins Jobs | Jenkins Jobs Definitionjenkins test windowsJenkins Job | Jenkins Job Definitionjenkins test rook e2eJenkins Job | Jenkins Job Definition