mirror of
https://github.com/rustfs/rustfs.git
synced 2026-10-31 16:22:06 +00:00
b08331335a
The outbound target matrix only modeled targets that adopt the forwarded source ETag, so the post-PUT replica ETag audit was never exercised against a target that computes its own ETag (AWS S3 and most compatible stores), and no matrix shape was encrypted. That gap let the SSE-S3 "replica etag mismatch" regression fixed in #8573 ship unnoticed. Add an ignore_source_etags mode to the fake S3 target, a ComputesOwnEtags matrix row that uses it, and an SseS3 object shape (the source runs with the local KMS). The shape asserts its source ETag is not the plaintext MD5 so the cell cannot pass vacuously. Against a build without #8573 the new row fails exactly computes-own-etags/SseS3 with "replica etag mismatch"; with it the whole matrix passes. Also correct the #8573 docs and comment that called the replication PUT checksum the integrity check for encrypted sources: managed-SSE sources forward no checksum, so their replicas have no post-PUT content audit.