v.23.5Improvement

Add Compose Request After Multipart Upload to GCS

Add compose request after multipart upload to GCS. This enables the usage of copy operation on objects uploaded with the multipart upload. It's recommended to set s3_strict_upload_part_size to some value because compose request can fail on objects created with parts of different sizes. #49693 (Antonio Andelic).
Added support for a compose request after multipart upload to Google Cloud Storage (GCS), allowing copy operations on objects created via multipart upload.

Why it matters

This feature addresses the limitation of performing copy operations on objects uploaded with multipart upload to GCS. By enabling compose requests after multipart uploads, users can now manage objects more flexibly and efficiently in GCS. Setting s3_strict_upload_part_size is recommended to ensure all parts have consistent sizes, preventing failures during the compose operation.

How to use it

To use this feature, perform multipart uploads to GCS as usual. Enable or configure the s3_strict_upload_part_size setting with an appropriate value to ensure part size consistency. This setting helps avoid compose request failures when copying multipart uploaded objects.