Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for Graves (0.36 sec)

  1. cmd/data-usage-cache.go

    			return
    		}
    		sz := d.sizeRecursive(path.Key())
    		leaves = append(leaves, struct {
    			objects uint64
    			path    dataUsageHash
    		}{objects: sz.Objects, path: path})
    		for ch := range e.Children {
    			add(dataUsageHash(ch))
    		}
    	}
    
    	// Add path recursively.
    	add(path)
    	sort.Slice(leaves, func(i, j int) bool {
    		return leaves[i].objects < leaves[j].objects
    	})
    	for remove > 0 && len(leaves) > 0 {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.4K bytes
    - Viewed (1)
  2. cmd/metrics-v3-system-drive.go

    		"Is it online?", allDriveLabels...)
    
    	driveOfflineCountMD = NewGaugeMD(driveOfflineCount,
    		"Count of offline drives")
    	driveOnlineCountMD = NewGaugeMD(driveOnlineCount,
    		"Count of online drives")
    	driveCountMD = NewGaugeMD(driveCount,
    		"Count of all drives")
    
    	// iostat related
    	driveReadsPerSecMD = NewGaugeMD(driveReadsPerSec,
    		"Reads per second on a drive",
    		allDriveLabels...)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  3. cmd/erasure.go

    	}
    
    	rootDiskCount := 0
    	for _, di := range disksInfo {
    		if di.RootDisk {
    			rootDiskCount++
    		}
    	}
    
    	// Count offline disks as well to ensure consistent
    	// reportability of offline drives on local setups.
    	if len(disksInfo) == (rootDiskCount + offlineDisks.Sum()) {
    		// Success.
    		return onlineDisks, offlineDisks
    	}
    
    	// Root disk should be considered offline
    	for i := range disksInfo {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 16K bytes
    - Viewed (1)
  4. cmd/metacache-set.go

    	if askDisks == -1 {
    		newDisks := getQuorumDisks(disks, infos, (len(disks)+1)/2)
    		if newDisks != nil {
    			// If we found disks signature in quorum, we proceed to list
    			// from a single drive, shuffling of the drives is subsequently.
    			disks = newDisks
    			askDisks = 1
    		} else {
    			// If we did not find suitable disks, perform strict quorum listing
    			// as no disk agrees on quorum anymore.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 19:52:52 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  5. cmd/admin-handlers.go

    // if a "restart/stop" was successful or not. Service signal now supports
    // a dry-run that helps skip the nodes that may have hung drives. By default
    // restart/stop will ignore the servers that are hung on drives. You can use
    // 'force' param to force restart even with hung drives if needed.
    func (a adminAPIHandlers) ServiceV2Handler(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    	vars := mux.Vars(r)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 21 11:43:18 GMT 2024
    - 97.3K bytes
    - Viewed (2)
  6. cmd/erasure-multipart.go

    			if disk == nil || !disk.IsOnline() {
    				parityDrives++
    				offlineDrives++
    				continue
    			}
    		}
    
    		if offlineDrives >= (len(onlineDisks)+1)/2 {
    			// if offline drives are more than 50% of the drives
    			// we have no quorum, we shouldn't proceed just
    			// fail at that point.
    			return nil, toObjectErr(errErasureWriteQuorum, bucket, object)
    		}
    
    		if parityDrives >= len(onlineDisks)/2 {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  7. cmd/sts-handlers.go

    	}
    
    	// Since issFromToken can have `/` characters (it is typically the
    	// provider URL), we hash and encode it to base64 here. This is needed
    	// because there will be a policy mapping stored on drives whose
    	// filename is this parentUser: therefore, it needs to have only valid
    	// filename characters and needs to have bounded length.
    	{
    		h := sha256.New()
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 18:36:18 GMT 2024
    - 34.7K bytes
    - Viewed (2)
  8. cmd/erasure-healing.go

    			// all remaining cases imply corrupt data/metadata
    			driveState = madmin.DriveStateCorrupt
    		}
    
    		result.Before.Drives = append(result.Before.Drives, madmin.HealDriveInfo{
    			UUID:     "",
    			Endpoint: storageEndpoints[i].String(),
    			State:    driveState,
    		})
    		result.After.Drives = append(result.After.Drives, madmin.HealDriveInfo{
    			UUID:     "",
    			Endpoint: storageEndpoints[i].String(),
    			State:    driveState,
    		})
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  9. cmd/format-erasure.go

    		DistributionAlgo string `json:"distributionAlgo"`
    	} `json:"xl"`
    	Info DiskInfo `json:"-"`
    }
    
    func (f *formatErasureV3) Drives() (drives int) {
    	for _, set := range f.Erasure.Sets {
    		drives += len(set)
    	}
    	return drives
    }
    
    func (f *formatErasureV3) Clone() *formatErasureV3 {
    	b, err := json.Marshal(f)
    	if err != nil {
    		panic(err)
    	}
    	var dst formatErasureV3
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 23.4K bytes
    - Viewed (0)
  10. cmd/prepare-storage.go

    			// Fresh setup, wait for first server to be up.
    			logger.Info("Waiting for the first server to format the drives (elapsed %s)\n", getElapsedTime())
    		case errFirstDiskWait:
    			// Fresh setup, wait for other servers to come up.
    			logger.Info("Waiting for all other servers to be online to format the drives (elapses %s)\n", getElapsedTime())
    		case errErasureReadQuorum:
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 11.1K bytes
    - Viewed (0)
Back to top