mirror of
https://github.com/minio/minio.git
synced 2025-11-07 21:02:58 -05:00
Updates for conditional put read quorum issue (#21653)
This commit is contained in:
committed by
GitHub
parent
52eee5a2f1
commit
18f97e70b1
@@ -1274,7 +1274,7 @@ func (er erasureObjects) putObject(ctx context.Context, bucket string, object st
|
||||
if err == nil && opts.CheckPrecondFn(obj) {
|
||||
return objInfo, PreConditionFailed{}
|
||||
}
|
||||
if err != nil && !isErrVersionNotFound(err) && !isErrObjectNotFound(err) && !isErrReadQuorum(err) {
|
||||
if err != nil && !isErrVersionNotFound(err) && !isErrObjectNotFound(err) {
|
||||
return objInfo, err
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user