Repository navigation
Description
Summary
In a legacy etcd bucket-federation deployment, a whole-object CopyObject that crosses deployments returns 200 with no checksum, even when the client explicitly requests one. The request is neither honored nor rejected.
This is the whole-object counterpart of #72, which fixed the same class of problem for federated UploadPartCopy.
Evidence
Driven through the real federation branch (a second HTTP endpoint serving the remote deployment, forwarding through getRemoteInstanceClient and minio-go), on both object-layer backends:
PUT /remoteBucket/dst
x-amz-copy-source: /srcBucket/src
x-amz-checksum-algorithm: CRC32
->
200
<CopyObjectResult><LastModified>…</LastModified><ETag>"…"</ETag></CopyObjectResult>
response ChecksumCRC32 = "" want "3aNLCg=="
response ChecksumType = ""
The local (non-federated) path returns the checksum correctly, so the two paths now disagree.
Cause
cmd/object-handlers.go, federated branch of CopyObjectHandler:
remoteObjInfo, rerr := core.PutObject(ctx, dstBucket, dstObject, srcInfo.Reader,
srcInfo.Size, "", "", opts)
...
objInfo.UserDefined = cloneMSS(opts.UserMetadata)
objInfo.ETag = remoteObjInfo.ETag
objInfo.ModTime = remoteObjInfo.LastModifiedTwo gaps:
remoteObjInfo.ChecksumCRC32/CRC32C/SHA1/SHA256/CRC64NVMEare discarded, so the laterobjInfo.decryptChecksums(...)finds nothing to return.- The
miniogo.PutObjectOptionspassed to the remote write carries no checksum algorithm, so the remote deployment is never asked to compute one either — the object is persisted without a checksum too.
Provenance and scope
The federated branch is byte-identical to RELEASE.2026-08-06T00-00-00Z, so this is not a regression. It became visible because f2520f334 added checksums to the CopyObject response for the local path, and the federated path was not covered.
Affects only legacy etcd bucket federation (globalDNSConfig set and MINIO_BUCKET_FEDERATION enabled), which upstream has deprecated. Not release-gating.
Expected
Either return and persist the requested checksum on the federated path, matching the local path and #72, or reject a checksum request that the federated path cannot satisfy. Silently discarding it is the one behavior that should not remain.
Activity
Vonng commentedon Sep 2, 2026
20260903 release-boundary update: reproduced and documented, not fixed in this release.
The defect is confined to legacy etcd bucket federation; the local CopyObject path and federated UploadPartCopy checksum repair are unaffected. Until this issue is fixed, a cross-deployment CopyObject request that asks for a checksum must not assume a successful response means the requested algorithm was persisted or returned.
This remains an open compatibility bug and a deployment-specific limitation, not a blocker for servers that do not enable the legacy federation backend.
fix: return and persist checksum on federated CopyObject (pgsty#99)
fix: correct federated CopyObject checksum edge cases (pgsty#99 follo…