Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for healingDisks (0.18 sec)

  1. cmd/erasure.go

    		if info.Error != "" || disks[i] == nil {
    			continue
    		}
    		if info.Healing {
    			healing++
    			if inclHealing {
    				healingDisks = append(healingDisks, disks[i])
    				healingInfos = append(healingInfos, infos[i])
    			}
    			continue
    		}
    
    		if !info.Scanning {
    			newDisks = append(newDisks, disks[i])
    			newInfos = append(newInfos, infos[i])
    		} else {
    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/background-newdisks-heal-ops.go

    		writer.Write([]byte(err.Error()))
    		return
    	}
    	writer.Write(b)
    }
    
    // toHealingDisk converts the information to madmin.HealingDisk
    func (h *healingTracker) toHealingDisk() madmin.HealingDisk {
    	h.mu.RLock()
    	defer h.mu.RUnlock()
    
    	return madmin.HealingDisk{
    		ID:                h.ID,
    		HealID:            h.HealID,
    		Endpoint:          h.Endpoint,
    		PoolIndex:         h.PoolIndex,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  3. cmd/admin-heal-ops.go

    	})
    }
    
    // getLocalHealingDisks returns local healing disks indexed by endpoint.
    func (ahs *allHealState) getLocalHealingDisks() map[string]madmin.HealingDisk {
    	ahs.RLock()
    	defer ahs.RUnlock()
    	dst := make(map[string]madmin.HealingDisk, len(ahs.healStatus))
    	for _, v := range ahs.healStatus {
    		dst[v.Endpoint] = v.toHealingDisk()
    	}
    
    	return dst
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 25.6K bytes
    - Viewed (0)
Back to top