Commit 8295e3b
committed
rgw: report copy obj progress from the frontend CR
To resolve issues with reporting progress during object copy
operations, we now report progress from the frontend CR instead
of from the curl thread. Reporting progress directly from the
curl thread was causing issues where the final send_response()
call in RGWCopyObj() would not resuming the yield after writing
to client.
By running the fetch_remote_obj() in a separate coroutine and
reporting the progress back through the frontend coroutine, we
avoid this blockage.
Fixes: https://tracker.ceph.com/issues/70840
Signed-off-by: Seena Fallah <[email protected]>1 parent 43c69a3 commit 8295e3b
3 files changed
+64
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4989 | 4989 | | |
4990 | 4990 | | |
4991 | 4991 | | |
4992 | | - | |
4993 | | - | |
4994 | | - | |
4995 | | - | |
4996 | | - | |
4997 | | - | |
4998 | | - | |
4999 | | - | |
5000 | | - | |
5001 | | - | |
5002 | | - | |
5003 | | - | |
5004 | | - | |
| 4992 | + | |
| 4993 | + | |
| 4994 | + | |
| 4995 | + | |
| 4996 | + | |
| 4997 | + | |
| 4998 | + | |
| 4999 | + | |
| 5000 | + | |
| 5001 | + | |
| 5002 | + | |
| 5003 | + | |
| 5004 | + | |
| 5005 | + | |
| 5006 | + | |
| 5007 | + | |
| 5008 | + | |
| 5009 | + | |
| 5010 | + | |
| 5011 | + | |
| 5012 | + | |
| 5013 | + | |
| 5014 | + | |
| 5015 | + | |
| 5016 | + | |
5005 | 5017 | | |
5006 | 5018 | | |
5007 | 5019 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5945 | 5945 | | |
5946 | 5946 | | |
5947 | 5947 | | |
5948 | | - | |
| 5948 | + | |
| 5949 | + | |
| 5950 | + | |
5949 | 5951 | | |
5950 | 5952 | | |
5951 | 5953 | | |
5952 | 5954 | | |
| 5955 | + | |
| 5956 | + | |
| 5957 | + | |
| 5958 | + | |
| 5959 | + | |
| 5960 | + | |
| 5961 | + | |
| 5962 | + | |
| 5963 | + | |
| 5964 | + | |
| 5965 | + | |
| 5966 | + | |
| 5967 | + | |
| 5968 | + | |
| 5969 | + | |
| 5970 | + | |
| 5971 | + | |
| 5972 | + | |
5953 | 5973 | | |
5954 | 5974 | | |
5955 | 5975 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1608 | 1608 | | |
1609 | 1609 | | |
1610 | 1610 | | |
| 1611 | + | |
| 1612 | + | |
| 1613 | + | |
| 1614 | + | |
| 1615 | + | |
| 1616 | + | |
| 1617 | + | |
| 1618 | + | |
| 1619 | + | |
| 1620 | + | |
| 1621 | + | |
1611 | 1622 | | |
1612 | 1623 | | |
1613 | 1624 | | |
| |||
1648 | 1659 | | |
1649 | 1660 | | |
1650 | 1661 | | |
| 1662 | + | |
| 1663 | + | |
| 1664 | + | |
| 1665 | + | |
| 1666 | + | |
| 1667 | + | |
| 1668 | + | |
1651 | 1669 | | |
1652 | 1670 | | |
1653 | 1671 | | |
| |||
0 commit comments