Project

General

Profile

Actions

Bug #69169

open

rgw: RGWCopyObj_ObjStore_S3::send_partial_response() crashes when fetch_remote_obj

Added by Seena Fallah about 1 year ago. Updated 4 months ago.

Status:
Pending Backport
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

Source:
Backport:
squid reef
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
multisite backport_processed
Fixed In:
v19.3.0-7533-ga9b4ebaeae
Released In:
v20.2.0~1141
Upkeep Timestamp:
2025-11-01T01:01:17+00:00

Description

When using CopyObject API to copy from a source bucket resist on a different zonegroup which needs to call fetch_remote_obj(). When the object is big enough that results in calls to `RGWCopyObj::progress_cb` and when `rgw_copy_obj_progress` is true, `send_partial_response` will try to write the progress to frontend socket which cause a race as the same yield context is used for curl to fetch the rest and as Casey stated "we have two different callers trying to suspend the same coroutine, we want our http thread to do nothing but service io for curl".


Related issues 2 (2 open0 closed)

Copied to rgw - Backport #69934: reef: rgw: RGWCopyObj_ObjStore_S3::send_partial_response() crashes when fetch_remote_objNewCasey BodleyActions
Copied to rgw - Backport #69935: squid: rgw: RGWCopyObj_ObjStore_S3::send_partial_response() crashes when fetch_remote_objNewCasey BodleyActions
Actions #1

Updated by Seena Fallah about 1 year ago

  • Subject changed from rgw: RGWCopyObj_ObjStore_S3::send_partial_response() when fetch_remote_obj to rgw: RGWCopyObj_ObjStore_S3::send_partial_response() crashes when fetch_remote_obj
Actions #2

Updated by Casey Bodley about 1 year ago

  • Assignee set to Casey Bodley
  • Tags (freeform) set to multisite
Actions #3

Updated by Casey Bodley about 1 year ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 61009
Actions #4

Updated by J. Eric Ivancich about 1 year ago

  • Status changed from Fix Under Review to Pending Backport
Actions #5

Updated by Upkeep Bot about 1 year ago

  • Copied to Backport #69934: reef: rgw: RGWCopyObj_ObjStore_S3::send_partial_response() crashes when fetch_remote_obj added
Actions #6

Updated by Upkeep Bot about 1 year ago

  • Copied to Backport #69935: squid: rgw: RGWCopyObj_ObjStore_S3::send_partial_response() crashes when fetch_remote_obj added
Actions #7

Updated by Upkeep Bot about 1 year ago

  • Tags (freeform) changed from multisite to multisite backport_processed
Actions #8

Updated by Upkeep Bot 8 months ago

  • Merge Commit set to a9b4ebaeaee38b294cd957ae1dc1ebb5834b82e5
  • Fixed In set to v19.3.0-7533-ga9b4ebaeaee
  • Upkeep Timestamp set to 2025-07-08T18:12:50+00:00
Actions #9

Updated by Upkeep Bot 8 months ago

  • Fixed In changed from v19.3.0-7533-ga9b4ebaeaee to v19.3.0-7533-ga9b4ebaeaee3
  • Upkeep Timestamp changed from 2025-07-08T18:12:50+00:00 to 2025-07-14T15:22:58+00:00
Actions #10

Updated by Upkeep Bot 8 months ago

  • Fixed In changed from v19.3.0-7533-ga9b4ebaeaee3 to v19.3.0-7533-ga9b4ebaeae
  • Upkeep Timestamp changed from 2025-07-14T15:22:58+00:00 to 2025-07-14T21:08:50+00:00
Actions #11

Updated by Upkeep Bot 4 months ago

  • Released In set to v20.2.0~1141
  • Upkeep Timestamp changed from 2025-07-14T21:08:50+00:00 to 2025-11-01T01:01:17+00:00
Actions

Also available in: Atom PDF