Skip to content

umbrella: rgw/http: look up requests by id when applying state changes - #71492

Merged
batrick merged 1 commit into
ceph:umbrellafrom
mheler:wip-80197-umbrella
Sep 28, 2026
Merged

batrick merged 1 commit into
ceph:umbrellafrom
mheler:wip-80197-umbrella

Conversation

@mheler

@mheler mheler commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

reqs_change_state kept a raw pointer to the request. If the request
finished before the reqs thread drained the queue, set_state() ran on
a freed request or a null curl handle and crashed the http_manager
thread.

Store the request id instead and look it up in reqs under reqs_lock.
Finished requests are already erased from that map, so a miss means
there is nothing left to pause or resume. Also skip curl_easy_pause()
if the request finished before the change could be applied.

Signed-off-by: Matthew N. Heler <[email protected]>
(cherry picked from commit 06a93dc)
@mheler
mheler requested a review from a team as a code owner September 2, 2026 14:43
@mheler mheler added this to the umbrella milestone Sep 2, 2026
@mheler mheler added the rgw label Sep 2, 2026
github-actions[bot]

This comment was marked as outdated.

@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label Sep 2, 2026
@mheler mheler removed the releng-audit-fail Release engineering: failed backport verification audit. label Sep 2, 2026
@github-actions github-actions Bot added the releng-audit-pass Release engineering: passed backport verification audit. label Sep 2, 2026
@anrao19

anrao19 commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

@ivancich

Copy link
Copy Markdown
Member

@batrick
batrick merged commit 38cee4a into ceph:umbrella Sep 28, 2026
16 of 17 checks passed
@batrick batrick modified the milestones: umbrella, v21.1.2 Sep 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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