Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for fess (0.17 sec)

  1. cmd/object-api-errors.go

    }
    
    // ObjectTooSmall error returned when the size of the object < what is expected.
    type ObjectTooSmall GenericError
    
    func (e ObjectTooSmall) Error() string {
    	return "size of the object less than what is expected"
    }
    
    // OperationTimedOut - a timeout occurred.
    type OperationTimedOut struct{}
    
    func (e OperationTimedOut) Error() string {
    	return "Operation timed out"
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  2. cmd/api-errors.go

    		HTTPStatusCode: http.StatusNotFound,
    	},
    	ErrMaximumExpires: {
    		Code:           "AuthorizationQueryParametersError",
    		Description:    "X-Amz-Expires must be less than a week (in seconds); that is, the given X-Amz-Expires must be less than 604800 seconds",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    
    	// Generic Invalid-Request error. Should be used for response errors only for unlikely
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  3. cmd/erasure-object.go

    	// writeQuorum is dataBlocks + 1
    	writeQuorum := dataDrives
    	if dataDrives == parityDrives {
    		writeQuorum++
    	}
    
    	// Validate input data size and it can never be less than zero.
    	if data.Size() < -1 {
    		bugLogIf(ctx, errInvalidArgument, logger.ErrorKind)
    		return ObjectInfo{}, toObjectErr(errInvalidArgument)
    	}
    
    	// Initialize parts metadata
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  4. cmd/erasure-server-pool.go

    		// we multiply by the number of sets in the pool.
    		// This will compensate for differences in set sizes
    		// when choosing destination pool.
    		// Different set sizes are already compensated by less disks.
    		available *= uint64(nSets[i])
    
    		serverPools[i] = poolAvailableSpace{
    			Index:      i,
    			Available:  available,
    			MaxUsedPct: maxUsedPct,
    		}
    	}
    	return serverPools
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  5. cmd/erasure-metadata.go

    	return 0, 0, InvalidRange{}
    }
    
    func findFileInfoInQuorum(ctx context.Context, metaArr []FileInfo, modTime time.Time, etag string, quorum int) (FileInfo, error) {
    	// with less quorum return error.
    	if quorum < 1 {
    		return FileInfo{}, InsufficientReadQuorum{Err: errErasureReadQuorum, Type: RQInsufficientOnlineDrives}
    	}
    	metaHashes := make([]string, len(metaArr))
    	h := sha256.New()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  6. cmd/xl-storage.go

    	if !globalIsCICD && !globalIsErasureSD {
    		var rootDrive bool
    		if globalRootDiskThreshold > 0 {
    			// Use MINIO_ROOTDISK_THRESHOLD_SIZE to figure out if
    			// this disk is a root disk. treat those disks with
    			// size less than or equal to the threshold as rootDrives.
    			rootDrive = info.Total <= globalRootDiskThreshold
    		} else {
    			rootDrive, err = disk.IsRootDisk(s.drivePath, SlashSeparator)
    			if err != nil {
    				return nil, err
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  7. cmd/storage-rest-server.go

    // The returned reader contains the payload and must be closed if no error is returned.
    func waitForHTTPStream(respBody io.ReadCloser, w io.Writer) error {
    	var tmp [1]byte
    	// 8K copy buffer, reused for less allocs...
    	bufp := poolBuf8k.Get().(*[]byte)
    	buf := *bufp
    	defer poolBuf8k.Put(bufp)
    	for {
    		_, err := io.ReadFull(respBody, tmp[:])
    		if err != nil {
    			return err
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  8. cmd/sts-handlers.go

    		// clients detect malformed certificates during testing instead of e.g.
    		// a self-signed certificate that works while a comparable certificate
    		// issued by a trusted CA fails due to the MinIO server being less strict
    		// w.r.t. key usage verification.
    		//
    		// Basically, MinIO is more consistent (from a client perspective) when
    		// we verify the key usage all the time.
    		var validKeyUsage bool
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 34.7K bytes
    - Viewed (2)
  9. cmd/metacache-set.go

    				}, w)
    			}
    
    			// fallback only when set.
    			for {
    				fd := fallback(werr)
    				if fd == nil {
    					break
    				}
    				// This fallback is only set when
    				// askDisks is less than total
    				// number of disks per set.
    				werr = fd.WalkDir(ctx, WalkDirOptions{
    					Limit:          opts.perDiskLimit,
    					Bucket:         opts.bucket,
    					BaseDir:        opts.path,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:59:08 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  10. cmd/erasure-multipart.go

    	if !opts.NoAuditLog {
    		auditObjectErasureSet(ctx, object, &er)
    	}
    
    	data := r.Reader
    	// Validate input data size and it can never be less than zero.
    	if data.Size() < -1 {
    		bugLogIf(ctx, errInvalidArgument, logger.ErrorKind)
    		return pi, toObjectErr(errInvalidArgument)
    	}
    
    	// Read lock for upload id.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
Back to top