Repository navigation
rgw: add RestoreStatus support to object listings - #67547
Conversation
cbodley
left a comment
There was a problem hiding this comment.
looks wonderful overall. may be worth a note in PendingReleaseNotes that we've added support, but it won't work for existing objects
56d1008 to
6917ba5
Compare
6917ba5 to
c403ecc
Compare
|
this looks like something we could exercise in s3-tests - would you please add a test case for this? |
|
|
@soumyakoduri do you know if this will be making qa soon? |
|
This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved |
S3 clients can request restore status in listing responses through the x-amz-optional-object-attributes header, but we had no support for it. This stores the restore state in the bucket index so listings can include <RestoreStatus> without having to read each object's attrs individually. Signed-off-by: Matthew N. Heler <[email protected]>
c403ecc to
8d21ac4
Compare
|
pr testing is in progress .. |
pr testing completed : https://tracker.ceph.com/issues/76520 , and approved by @ivancich. |
|
jenkins test make check arm64 |
|
jenkins test docs |
|
jenkins render docs |
S3 clients can request restore status in listing responses through the
x-amz-optional-object-attributes: RestoreStatusheader, but we had no support for it. Rather than reading each object's attrs on every list call, this stores restore state directly in the bucket index entry.Fixes: https://tracker.ceph.com/issues/75175
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 DefinitionYou must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.