From 9fac4776687ddf85f5c7c928ccd2ad29d5ed5c6a Mon Sep 17 00:00:00 2001 From: MrCreosote Date: Fri, 27 Mar 2026 10:44:51 -0700 Subject: [PATCH] Always specify checksum algorithm on uploads in S3Client Unlike Minio, CEPH will not store the checksum unless the algorithm is explicitly specified. Works with both Minio and CEPH --- cdmtaskservice/s3/client.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cdmtaskservice/s3/client.py b/cdmtaskservice/s3/client.py index 5c76d33..5a0f0f6 100644 --- a/cdmtaskservice/s3/client.py +++ b/cdmtaskservice/s3/client.py @@ -476,6 +476,7 @@ async def _upload(self, client, buk: str, key: str, loc: Path, crc64nvme: str): Bucket=buk, Key=key, Body=f, + ChecksumAlgorithm="CRC64NVME", ChecksumCRC64NVME=crc64nvme ) return