Skip to content

rgw: discard olh_ attributes when copying object from a versioning-suspended bucket to a versioning-disabled bucket - #65158

Merged
cbodley merged 1 commit into
ceph:mainfrom
jzhu116-bloomberg:wip-72667
Sep 10, 2025

Conversation

@jzhu116-bloomberg

Copy link
Copy Markdown
Contributor

Fixes: https://tracker.ceph.com/issues/72667
Signed-off-by: Jane Zhu [email protected]

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 x between the brackets: [x]. Spaces and capitalization matter when checking off items this way.

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands

…spended bucket to a versioning-disabled bucket

Signed-off-by: Jane Zhu <[email protected]>
@jzhu116-bloomberg
jzhu116-bloomberg requested a review from a team as a code owner August 20, 2025 18:50
@github-actions github-actions Bot added the rgw label Aug 20, 2025

@cbodley cbodley left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks, looks correct 👍 could you please write a simple s3test to cover this case?

@jzhu116-bloomberg

Copy link
Copy Markdown
Contributor Author

thanks, looks correct 👍 could you please write a simple s3test to cover this case?

sure will do

@jzhu116-bloomberg

Copy link
Copy Markdown
Contributor Author

Extended the existing test case test_versioning_obj_suspended_copy to cover this change. Please see ceph/s3-tests#690

@jzhu116-bloomberg

Copy link
Copy Markdown
Contributor Author

jenkins test make check arm64

@jzhu116-bloomberg

Copy link
Copy Markdown
Contributor Author

jenkins test api

@cbodley

cbodley commented Sep 9, 2025

Copy link
Copy Markdown
Contributor

@cbodley

cbodley commented Sep 10, 2025 •

Copy link
Copy Markdown
Contributor

qa pending in https://pulpito.ceph.com/cbodley-2025-09-09_21:27:07-rgw-wip-72667-distro-default-gibba/

mostly looks good, except for a few unrelated git clone https://git.ceph.com/ceph.git errors

rerun pending in https://pulpito.ceph.com/cbodley-2025-09-10_16:04:24-rgw-wip-72667-distro-default-gibba/

@cbodley

cbodley commented Sep 10, 2025

Copy link
Copy Markdown
Contributor

rerun approved 👍

s3tests_boto3/functional/test_s3.py::test_versioning_obj_suspended_copy PASSED [ 70%]

@cbodley

cbodley commented Sep 10, 2025

Copy link
Copy Markdown
Contributor

jenkins test api

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants