Skip to content

rgw: use local error code in handle_individual_object() - #69134

Merged
cbodley merged 1 commit into
ceph:mainfrom
cbodley:wip-rgw-multi-delete-op_ret
Jun 19, 2026
Merged

cbodley merged 1 commit into
ceph:mainfrom
cbodley:wip-rgw-multi-delete-op_ret

Conversation

@cbodley

@cbodley cbodley commented May 27, 2026 •

Copy link
Copy Markdown
Contributor

op_ret is a member variable of RGWDeleteMultiObj shared between concurrent callers of handle_individual_object(). because that coroutine may suspend between writing to op_ret and later reading it back for send_partial_response(), it's likely that other callers have modified it in the meantime

store this error code in a local variable instead, so each coroutine has its own consistent copy of it

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

Show available Jenkins commands

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

@github-actions github-actions Bot added the rgw label May 27, 2026
op_ret is a member variable of RGWDeleteMultiObj shared between
concurrent callers of handle_individual_object(). because that coroutine
may suspend between writing to op_ret and later reading it back for
send_partial_response(), it's likely that other callers have modified it
in the meantime

store this error code in a local variable instead, so each coroutine has
its own consistent copy of it

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

Signed-off-by: Casey Bodley <[email protected]>
@cbodley
cbodley force-pushed the wip-rgw-multi-delete-op_ret branch from 2e2bb70 to 72483c1 Compare May 28, 2026 13:39
@cbodley
cbodley marked this pull request as ready for review May 28, 2026 13:40
@cbodley
cbodley requested a review from a team as a code owner May 28, 2026 13:40
@mkogan1
mkogan1 self-requested a review June 1, 2026 07:38

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

@anrao19

anrao19 commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

pr testing completed and approved by @ivancich , more details : https://tracker.ceph.com/issues/77468
@cbodley, if no further testing is need. This pr can be merged

@cbodley
cbodley merged commit 0bdeb61 into ceph:main Jun 19, 2026
8 of 9 checks passed
@cbodley
cbodley deleted the wip-rgw-multi-delete-op_ret branch June 19, 2026 13:21
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