mirror of
https://github.com/versity/versitygw.git
synced 2026-08-16 04:06:16 +00:00
Introduce an opt-in mode that derives ETags from checksums instead of relying on MD5 assumptions, aligning with AWS-compatible scenarios where ETag should be treated as an opaque identifier rather than a content-MD5 signal. This can significantly reduce CPU load on the server to disable MD5 checksums when we are already validating data with other checksums. This change adds --data-integrity-etag and VGW_DATA_INTEGRITY_ETAG support for both posix and scoutfs backends. In this mode, PUT object ETags, multipart part ETags, and completed multipart object ETags are checksum-derived.