Updates for conditional put read quorum issue (#21653)

This commit is contained in:
Raul-Mircea Crivineanu
2025-10-24 07:05:31 +03:00
committed by GitHub
parent 52eee5a2f1
commit 18f97e70b1
4 changed files with 378 additions and 3 deletions

View File

@@ -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
}