Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getOnlineDisksWithHealingAndInfo (0.22 sec)

  1. cmd/erasure.go

    	}
    
    	return getStorageInfo(localDisks, localEndpoints, metrics)
    }
    
    // getOnlineDisksWithHealingAndInfo - returns online disks and overall healing status.
    // Disks are ordered in the following groups:
    // - Non-scanning disks
    // - Non-healing disks
    // - Healing disks (if inclHealing is true)
    func (er erasureObjects) getOnlineDisksWithHealingAndInfo(inclHealing bool) (newDisks []StorageAPI, newInfos []DiskInfo, healing int) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 22:23:33 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  2. cmd/global-heal.go

    		}
    
    		if serverDebugLog {
    			console.Debugf(color.Green("healDrive:")+" healing bucket %s content on %s erasure set\n",
    				bucket, humanize.Ordinal(er.setIndex+1))
    		}
    
    		disks, _, healing := er.getOnlineDisksWithHealingAndInfo(true)
    		if len(disks) == healing {
    			// All drives in this erasure set were reformatted for some reasons, abort healing and mark it as successful
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  3. cmd/metacache-set.go

    	defer xioutil.SafeClose(results)
    	o.debugf(color.Green("listPath:")+" with options: %#v", o)
    
    	// get prioritized non-healing disks for listing
    	disks, infos, _ := er.getOnlineDisksWithHealingAndInfo(true)
    	askDisks := getListQuorum(o.AskDisks, er.setDriveCount)
    	if askDisks == -1 {
    		newDisks := getQuorumDisks(disks, infos, (len(disks)+1)/2)
    		if newDisks != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  4. cmd/erasure-server-pool.go

    		for setIdx, set := range erasureSet.sets {
    			set := set
    			listOut := make(chan metaCacheEntry, 1)
    			entries = append(entries, listOut)
    			disks, infos, _ := set.getOnlineDisksWithHealingAndInfo(true)
    			if len(disks) == 0 {
    				xioutil.SafeClose(results)
    				err := fmt.Errorf("Walk: no online disks found in (set:%d pool:%d) %w", setIdx, poolIdx, errErasureReadQuorum)
    				cancelCause(err)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
Back to top