Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for cout (0.19 sec)

  1. cmd/erasure-object.go

    			tags["parity"] = m.Erasure.ParityBlocks
    		} else {
    			tags["invalid-meta"] = true
    			tags["data"] = er.setDriveCount - er.defaultParityCount
    			tags["parity"] = er.defaultParityCount
    		}
    
    		// count the number of offline disks
    		offline := 0
    		for i := 0; i < max(len(errs), len(dataErrs)); i++ {
    			if i < len(errs) && errors.Is(errs[i], errDiskNotFound) || i < len(dataErrs) && errors.Is(dataErrs[i], errDiskNotFound) {
    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)
  2. cmd/erasure-server-pool.go

    		return z.serverPools[poolIdx].sets[setIdx].getDisks(), nil
    	}
    	return nil, fmt.Errorf("Matching pool %s, set %s not found", humanize.Ordinal(poolIdx+1), humanize.Ordinal(setIdx+1))
    }
    
    // Return the count of disks in each pool
    func (z *erasureServerPools) SetDriveCounts() []int {
    	setDriveCounts := make([]int, len(z.serverPools))
    	for i := range z.serverPools {
    		setDriveCounts[i] = z.serverPools[i].SetDriveCount()
    	}
    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)
  3. cmd/object-handlers.go

    				Data:         data,
    			})
    		}()
    	}
    
    	if err = setObjectHeaders(w, objInfo, rs, opts); err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	// Set Parts Count Header
    	if opts.PartNumber > 0 && len(objInfo.Parts) > 0 {
    		setPartsCountHeaders(w, objInfo)
    	}
    
    	setHeadGetRespHeaders(w, r.Form)
    
    	var iw io.Writer
    	iw = w
    	if buf != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  4. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrParseUnsupportedCallWithStar: {
    		Code:           "ParseUnsupportedCallWithStar",
    		Description:    "Only COUNT with (*) as a parameter is supported in the SQL expression.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrParseNonUnaryAggregateFunctionCall: {
    		Code:           "ParseNonUnaryAggregateFunctionCall",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (6)
  5. cmd/format-erasure.go

    	for _, format := range formats {
    		if format == nil {
    			continue
    		}
    		formatCountMap[format.Drives()]++
    	}
    
    	maxDrives := 0
    	maxCount := 0
    	for drives, count := range formatCountMap {
    		if count > maxCount {
    			maxCount = count
    			maxDrives = drives
    		}
    	}
    
    	if maxDrives == 0 {
    		return nil, errErasureReadQuorum
    	}
    
    	if maxCount < len(formats)/2 {
    		return nil, errErasureReadQuorum
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  6. cmd/common-main.go

    	}
    
    	if dir == "" {
    		if !dirSet {
    			return nil, fmt.Errorf("missing option must be provided")
    		}
    		return nil, fmt.Errorf("provided option cannot be empty")
    	}
    
    	// Disallow relative paths, figure out absolute paths.
    	dirAbs, err := filepath.Abs(dir)
    	if err != nil {
    		return nil, err
    	}
    	err = mkdirAllIgnorePerm(dirAbs)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  7. docs/metrics/v3.md

    | `minio_cluster_health_drives_offline_count`        | `gauge` | Count of offline drives in the cluster         |        |
    | `minio_cluster_health_drives_online_count`         | `gauge` | Count of online drives in the cluster          |        |
    | `minio_cluster_health_drives_count`                | `gauge` | Count of all drives in the cluster             |        |
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 17:37:57 GMT 2024
    - 28.5K bytes
    - Viewed (0)
  8. cmd/endpoint-ellipses.go

    	for i := 1; i < len(totalSizes); i++ {
    		result = gcd(result, totalSizes[i])
    	}
    	return result
    }
    
    // isValidSetSize - checks whether given count is a valid set size for erasure coding.
    var isValidSetSize = func(count uint64) bool {
    	return (count >= setSizes[0] && count <= setSizes[len(setSizes)-1])
    }
    
    func commonSetDriveCount(divisibleSize uint64, setCounts []uint64) (setSize uint64) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  9. docs/distributed/CONFIG.md

          - "https://server{1...2}-pool1:9000/mnt/disk{1...4}/"
          - "https://server3-pool1:9000/mnt/disk{1...4}/"
          - "https://server4-pool1:9000/mnt/disk{1...4}/"
        set-drive-count: 4 # Advanced option, must be used under guidance from MinIO team.
    ```
    
    ### Things to know
    
    - Fields such as `version` and `pools` are mandatory, however all other fields are optional.
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  10. cmd/metrics-v3-cluster-iam.go

    	pluginAuthnServiceFailedRequestsMinuteMD = NewCounterMD(pluginAuthnServiceFailedRequestsMinute, "When plugin authentication is configured, returns failed requests count in the last full minute")
    	pluginAuthnServiceLastFailSecondsMD      = NewCounterMD(pluginAuthnServiceLastFailSeconds, "When plugin authentication is configured, returns time (in seconds) since the last failed request to the service")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 08:20:42 GMT 2024
    - 4.5K bytes
    - Viewed (0)
Back to top