mirror of
https://github.com/pgsty/minio.git
synced 2026-07-20 04:30:26 +03:00
support encrypted/compressed objects properly during decommission (#15320)
fixes #15314
This commit is contained in:
@@ -658,6 +658,9 @@ func (er erasureObjects) PutObjectPart(ctx context.Context, bucket, object, uplo
|
||||
fi.ModTime = UTCNow()
|
||||
|
||||
md5hex := r.MD5CurrentHexString()
|
||||
if opts.PreserveETag != "" {
|
||||
md5hex = opts.PreserveETag
|
||||
}
|
||||
var index []byte
|
||||
if opts.IndexCB != nil {
|
||||
index = opts.IndexCB()
|
||||
|
||||
Reference in New Issue
Block a user