Skip to content

Commit a4f0ba4

Browse files
committed
rgw/cloud-restore: Do not send internal headers to cloud-endpoint
While fetching object from the cloud-endpoint, we need not set headers used internally within RGW. Some of these headers are resulting in 403 error for GET response while using PoINT S3 cloud service. Signed-off-by: Soumya Koduri <[email protected]>
1 parent 20d7fe9 commit a4f0ba4

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/rgw/driver/rados/rgw_lc_tier.cc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -279,10 +279,6 @@ int rgw_cloud_tier_get_object(RGWLCCloudTierCtx& tier_ctx, bool head,
279279

280280
/* init input connection */
281281
req_params.get_op = !head;
282-
req_params.prepend_metadata = true;
283-
req_params.rgwx_stat = true;
284-
req_params.sync_manifest = true;
285-
req_params.skip_decrypt = true;
286282
req_params.cb = (RGWHTTPStreamRWRequest::ReceiveCB *)cb;
287283

288284
ldpp_dout(tier_ctx.dpp, 20) << __func__ << "(): fetching object from cloud bucket:" << dest_bucket << ", object: " << target_obj_name << dendl;

0 commit comments

Comments
 (0)