v.23.1upgrade-notes
Use GetObjectAttributes for Object Size Retrieval in AWS S3
Use theGetObjectAttributesrequest instead of theHeadObjectrequest to get the size of an object in AWS S3. This change fixes handling endpoints without explicit regions after updating the AWS SDK, for example. #45288 (Vitaly Baranov). AWS S3 and Minio are tested, but keep in mind that various S3-compatible services (GCS, R2, B2) may have subtle incompatibilities. This change also may require you to adjust the ACL to allow theGetObjectAttributesrequest.