Skip to content

rgw/putobj: RadosWriter uses part head object for multipart parts - #55582

Merged
cbodley merged 1 commit into
ceph:mainfrom
cbodley:wip-63642
Feb 16, 2024
Merged

cbodley merged 1 commit into
ceph:mainfrom
cbodley:wip-63642

Conversation

@cbodley

@cbodley cbodley commented Feb 14, 2024

Copy link
Copy Markdown
Contributor

the cleanup logic in the RadosWrite destructor was using the wrong head_obj to avoid races between cleanup and part re-uploads. it pointed at the final location of the multipart upload, rather than the head object of the current part

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

Show available Jenkins commands
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test dashboard cephadm
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox
  • jenkins test windows
  • jenkins test rook e2e

the cleanup logic in the RadosWrite destructor was using the wrong
`head_obj` to avoid races between cleanup and part re-uploads. it
pointed at the final location of the multipart upload, rather than the
head object of the current part

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

Signed-off-by: Casey Bodley <[email protected]>
@cbodley
cbodley requested a review from a team as a code owner February 14, 2024 14:48
@github-actions github-actions Bot added the rgw label Feb 14, 2024

@mattbenjamin mattbenjamin 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.

I certainly would not have spotted this, it seems very plausible

@mkogan1 mkogan1 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.

@ivancich ivancich left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM!

@cbodley

cbodley commented Feb 14, 2024

Copy link
Copy Markdown
Contributor Author

i'll prioritize qa of this for squid, and prepare a pacific backport in parallel to get this into the final 16.2.15 release

@cbodley

cbodley commented Feb 16, 2024

Copy link
Copy Markdown
Contributor Author

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