Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getLocalHealingDisks (0.22 sec)

  1. cmd/admin-heal-ops.go

    		}
    		if a.SetIndex != b.SetIndex {
    			return a.SetIndex < b.SetIndex
    		}
    		return a.DiskIndex < b.DiskIndex
    	})
    }
    
    // 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 {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.1K bytes
    - Viewed (1)
  2. cmd/global-heal.go

    	}
    
    	healDisksMap := map[string]struct{}{}
    	for _, ep := range getLocalDisksToHeal() {
    		healDisksMap[ep.String()] = struct{}{}
    	}
    
    	if o == nil {
    		healing := globalBackgroundHealState.getLocalHealingDisks()
    		for _, disk := range healing {
    			status.HealDisks = append(status.HealDisks, disk.Endpoint)
    		}
    
    		return status, true
    	}
    
    	si := o.LocalStorageInfo(ctx, true)
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 15K bytes
    - Viewed (1)
Back to top