Skip to content

tentacle: rgw: retry ENOENT if bucket reshard races with index operation - #70497

Merged
batrick merged 1 commit into
ceph:tentaclefrom
smanjara:wip-74912-tentacle
Aug 20, 2026
Merged

batrick merged 1 commit into
ceph:tentaclefrom
smanjara:wip-74912-tentacle

Conversation

@smanjara

Copy link
Copy Markdown
Contributor

guard_reshard() serves as a wrapper to protect bucket index operations
against concurrent resharding. but it only handles -ERR_BUSY_RESHARDING
if bucket index update is already in progress with bucket shard
assigned, and a concurrent resharding operation deletes this old shard
object, there may be a window of operations targeting the old shards
failing with -ENOENT. this error is not caught anywhere in the calling
functions. as a result we could end up with objects in an inconsistent state.

Signed-off-by: Shilpa Jagannath <[email protected]>
(cherry picked from commit e34067f)
@smanjara
smanjara requested a review from a team as a code owner July 23, 2026 18:32
@smanjara smanjara added this to the tentacle milestone Jul 23, 2026
@smanjara smanjara added the rgw label Jul 23, 2026
@github-actions github-actions Bot added the releng-audit-pass Release engineering: passed backport verification audit. label Jul 23, 2026
@anrao19

anrao19 commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

@anrao19

anrao19 commented Jul 24, 2026

Copy link
Copy Markdown
Contributor

@smanjara

Copy link
Copy Markdown
Contributor Author

This PR has been added to tentacle integration testing by anuchaithra started 2026-07-24-05:41.

@smanjara , shaman build creation is failing could you please check : https://shaman.ceph.com/builds/ceph/wip-anuchaithra-testing-20260724.054106-tentacle/

@anrao19 hi. are the other tests without this PR passing? I checked the logs
and it doesn't seem like this PR is causing the failure.

@adamemerson

Copy link
Copy Markdown
Contributor

jenkins test make check

@anrao19

anrao19 commented Aug 4, 2026 •

Copy link
Copy Markdown
Contributor

This PR has been added to tentacle integration testing by anuchaithra started 2026-07-24-05:41.

@smanjara , shaman build creation is failing could you please check : https://shaman.ceph.com/builds/ceph/wip-anuchaithra-testing-20260724.054106-tentacle/

@anrao19 hi. are the other tests without this PR passing? I checked the logs and it doesn't seem like this PR is causing the failure.

pr testing completed and approved by @ivancich :https://tracker.ceph.com/issues/78633
@smanjara , if no further testing is needed then this pr can be merged

@batrick batrick modified the milestones: tentacle, v20.2.5 Aug 20, 2026
@batrick
batrick merged commit 5fb187a into ceph:tentacle Aug 20, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-qa ready-to-merge releng-audit-pass Release engineering: passed backport verification audit. rgw TESTED

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants