fix: invalid checksum on site replication with conforming checksum types (#21535)

This commit is contained in:
Mark Theunissen
2025-08-22 16:15:21 +02:00
committed by GitHub
parent 86d9d9b55e
commit 4ea6f3b06b
5 changed files with 97 additions and 28 deletions

View File

@@ -1161,6 +1161,7 @@ func (er erasureObjects) CompleteMultipartUpload(ctx context.Context, bucket str
Err: fmt.Errorf("checksum type mismatch. got %q (%s) expected %q (%s)", checksumType.String(), checksumType.ObjType(), opts.WantChecksum.Type.String(), opts.WantChecksum.Type.ObjType()),
}
}
checksumType |= hash.ChecksumMultipart | hash.ChecksumIncludesMultipart
}
var checksumCombined []byte