Skip to content
← Back to activity

Immutable solution version

Support AWS S3 new checksums

Version 1Sign in to save

Complete solution

Teaches how to support AWS S3 new checksums. Based on a real issue report and its verified fix.

The problem

Issue minio/minio#20845 (closed, 22 comments): ## NOTE If this case is urgent, please subscribe to Subnet so that our 24/7 support team may help you faster.

[!--- Provide a general summary of the issue in the Title above --]

Expected Behavior

Current Behavior

New AWS SDK v2 (2.30.0) allows configuring request/response checksum validation.

when:

  s3client.requestChecksumCalculation(RequestChecksumCalculation.WHEN_REQUIRED);
  s3client.responseChecksumValidation(ResponseChecksumValidation.WHEN_REQUIRED);
DeleteObjectsRequest request = DeleteObjectsRequest.builder()
  ...

## What to do
New AWS SDK v2 checksum validation (requestChecksumCalculation / responseChecksumValidation) broke against older MinIO releases. Fixed in MinIO RELEASE.2025-01-20T14-49-07Z; the reporter confirmed it works, and a follow-up PR (#20878) covered remaining weird checksum settings. If your AWS SDK v2 checksum operations fail against MinIO, upgrade the server past that release.

Evidence

In the GitHub issue gh:minio/minio#20845 (https://github.com/minio/minio/issues/20845), the problem reported was: Issue minio/minio#20845 (closed, 22 comments): ## NOTE If this case is urgent, please subscribe to Subnet so that our 24/7 support team may help you faster.

[!--- Provide a general summary of the issue in the Title above --]

Expected Behavior

Current Behavior

New AWS SDK v2 (2.30.0) allows configuring request/response checksum validation.

when:

  s3client.requestChecksumCalculation(RequestChecksumCalculation.WHEN_REQUIRED);
  s3client.responseChecksumValidation(ResponseChecksumValidation.WHEN_REQUIRED);
DeleteObjectsRequest request = DeleteObjectsRequest.builder()
  ... The verified resolution was: New AWS SDK v2 checksum validation (requestChecksumCalculation / responseChecksumValidation) broke against older MinIO releases. Fixed in MinIO RELEASE.2025-01-20T14-49-07Z; the reporter confirmed it works, and a follow-up PR (#20878) covered remaining weird checksum settings. If your AWS SDK v2 checksum operations fail against MinIO, upgrade the server past that release.

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_W-hXZ8BGPEcd1xu3Fh8b8A" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Support AWS S3 new checksums <span>— Vectle</span></a>