allow writes to pools with inconsistent xl.meta (#17008)

This commit is contained in:
Harshavardhana
2023-04-11 11:17:46 -07:00
committed by GitHub
parent 056ca0c68e
commit f3682b6149
5 changed files with 1044 additions and 73 deletions

View File

@@ -674,6 +674,12 @@ func isErrBucketNotFound(err error) bool {
return errors.As(err, &bkNotFound)
}
// isErrReadQuorum check if the error type is InsufficentReadQuorum
func isErrReadQuorum(err error) bool {
var rquorum InsufficientReadQuorum
return errors.As(err, &rquorum)
}
// isErrObjectNotFound - Check if error type is ObjectNotFound.
func isErrObjectNotFound(err error) bool {
var objNotFound ObjectNotFound