Skip to content

rgw/logging: fix race condition when name update returns ECANCELED - #65902

Merged
yuvalif merged 1 commit into
ceph:mainfrom
yuvalif:wip-yuval-73434
Oct 18, 2025
Merged

yuvalif merged 1 commit into
ceph:mainfrom
yuvalif:wip-yuval-73434

Conversation

@yuvalif

@yuvalif yuvalif commented Oct 12, 2025

Copy link
Copy Markdown
Contributor
  • when we get ECANCELED indication from the name set operation we should bail out and not continue with the rollover
  • this fix revealed a hidden bug where we do not check the existing temp name when we do conf change cleanup (rollover)

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

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

You must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.

* when we get ECANCELED indication from the name set operation we should
  bail out and not continue with the rollover
* this fix revealed a hidden bug where we do not check the existing temp
  name when we do conf change cleanup (rollover)

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

Signed-off-by: Yuval Lifshitz <[email protected]>
@yuvalif
yuvalif requested a review from a team as a code owner October 12, 2025 14:20
@github-actions github-actions Bot added the rgw label Oct 12, 2025
@yuvalif
yuvalif requested a review from nbalacha October 12, 2025 14:20
@yuvalif

yuvalif commented Oct 13, 2025

Copy link
Copy Markdown
Contributor Author

jenkins test make check arm64

@yuvalif

yuvalif commented Oct 13, 2025

Copy link
Copy Markdown
Contributor Author

jenkins test make check arm64

1 similar comment
@yuvalif

yuvalif commented Oct 15, 2025

Copy link
Copy Markdown
Contributor Author

jenkins test make check arm64

@yuvalif

yuvalif commented Oct 16, 2025

Copy link
Copy Markdown
Contributor Author

teuthology result: https://pulpito.ceph.com/yuvalif-2025-10-15_14:45:21-rgw-wip-yuval-73434-distro-default-smithi/

@yuvalif
yuvalif merged commit cd4a69b into ceph:main Oct 18, 2025
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