Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for isErrReadQuorum (0.32 sec)

  1. cmd/object-api-errors.go

    func isErrBucketNotFound(err error) bool {
    	var bkNotFound BucketNotFound
    	return errors.As(err, &bkNotFound)
    }
    
    // isErrReadQuorum check if the error type is InsufficientReadQuorum
    func isErrReadQuorum(err error) bool {
    	var rquorum InsufficientReadQuorum
    	return errors.As(err, &rquorum)
    }
    
    // isErrWriteQuorum check if the error type is InsufficientWriteQuorum
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 00:31:12 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  2. cmd/bucket-replication.go

    			// version being purged is already not found on target.
    			if !rinfo.VersionPurgeStatus.Empty() {
    				rinfo.VersionPurgeStatus = Complete
    				return
    			}
    		case isErrReadQuorum(serr), isErrWriteQuorum(serr):
    			// destination has some quorum issues, perform removeObject() anyways
    			// to complete the operation.
    		default:
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  3. cmd/erasure-server-pool.go

    		if opts.SkipRebalancing && z.IsPoolRebalancing(pinfo.Index) {
    			continue
    		}
    		if pinfo.Err == nil {
    			// found a pool
    			return pinfo, z.poolsWithObject(poolObjInfos, opts), nil
    		}
    
    		if isErrReadQuorum(pinfo.Err) && !opts.MetadataChg {
    			// read quorum is returned when the object is visibly
    			// present but its unreadable, we simply ask the writes to
    			// schedule to this pool instead. If there is no quorum
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 80.1K bytes
    - Viewed (0)
  4. cmd/erasure-object.go

    		if err == nil && opts.CheckPrecondFn(obj) {
    			return objInfo, PreConditionFailed{}
    		}
    		if err != nil && !isErrVersionNotFound(err) && !isErrObjectNotFound(err) && !isErrReadQuorum(err) {
    			return objInfo, err
    		}
    	}
    
    	// Validate input data size and it can never be less than -1.
    	if data.Size() < -1 {
    		bugLogIf(ctx, errInvalidArgument, logger.ErrorKind)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 76.9K bytes
    - Viewed (2)
Back to top