Skip to content

squid: rgw: Deleting an object with null version fix#62309

Merged
yuriw merged 3 commits intoceph:squidfrom
adamemerson:wip-55179-squid
Mar 25, 2025
Merged

squid: rgw: Deleting an object with null version fix#62309
yuriw merged 3 commits intoceph:squidfrom
adamemerson:wip-55179-squid

Conversation

@adamemerson
Copy link
Contributor

@adamemerson adamemerson commented Mar 14, 2025

Fixes tracker.ceph.com/issues/55179

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

Shilpa Jagannath and others added 3 commits March 14, 2025 14:42
… version

Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
(cherry picked from commit 485020f)

Fixes: https://tracker.ceph.com/issues/67152

Conflicts:
	src/rgw/driver/rados/rgw_rados.h
	src/rgw/driver/rados/rgw_sal_rados.cc
 - `obj_version` field not existing in squid
	src/rgw/rgw_op.cc
 - Change in how we set `op_ret`

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Addition of a test to rgw_multi to check the
working of deleting an object with null version.

Signed-off-by: Kalpesh Pandya <kapandya@redhat.com>
(cherry picked from commit 7103b31)

Fixes: https://tracker.ceph.com/issues/67152

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
…ell.

Signed-off-by: Shilpa Jagannath <smanjara@redhat.com>
(cherry picked from commit 92002be)

Fixes: https://tracker.ceph.com/issues/67152

 Conflicts:
	src/rgw/rgw_op.cc
 - `op_ret` difference from before

Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
@adamemerson
Copy link
Contributor Author

@smanjara Please prioritize giving this a quick look just to check it for coherence/reasonableness.

@adamemerson
Copy link
Contributor Author

@smanjara Please prioritize giving this a quick look just to check it for coherence/reasonableness.

That was fast, thank you.

@yuriw yuriw merged commit e624401 into ceph:squid Mar 25, 2025
15 of 16 checks passed
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.

4 participants