mirror of
https://github.com/minio/minio.git
synced 2025-01-24 05:03:16 -05:00
fix: precondition check for multipart with existing object replication (#19349)
This commit is contained in:
parent
0a56dbde2f
commit
8bce123bba
@ -381,7 +381,7 @@ func (er erasureObjects) newMultipartUpload(ctx context.Context, bucket string,
|
||||
rctx := lkctx.Context()
|
||||
obj, err := er.getObjectInfo(rctx, bucket, object, opts)
|
||||
lk.RUnlock(lkctx)
|
||||
if err != nil && !isErrVersionNotFound(err) {
|
||||
if err != nil && !isErrVersionNotFound(err) && !isErrObjectNotFound(err) {
|
||||
return nil, err
|
||||
}
|
||||
if opts.CheckPrecondFn(obj) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user