Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for healingDisks (0.06 sec)

  1. 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)
  2. 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