Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getScannedItemsCount (0.19 sec)

  1. cmd/global-heal.go

    	}
    
    	bgSeq, ok := globalBackgroundHealState.getHealSequenceByToken(bgHealingUUID)
    	if !ok {
    		return madmin.BgHealState{}, false
    	}
    
    	status := madmin.BgHealState{
    		ScannedItemsCount: bgSeq.getScannedItemsCount(),
    	}
    
    	healDisksMap := map[string]struct{}{}
    	for _, ep := range getLocalDisksToHeal() {
    		healDisksMap[ep.String()] = struct{}{}
    	}
    
    	if o == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  2. cmd/admin-heal-ops.go

    		healedItemsMap:        make(map[madmin.HealItemType]int64),
    		healFailedItemsMap:    make(map[madmin.HealItemType]int64),
    	}
    }
    
    // getScannedItemsCount - returns a count of all scanned items
    func (h *healSequence) getScannedItemsCount() int64 {
    	var count int64
    	h.mutex.RLock()
    	defer h.mutex.RUnlock()
    
    	for _, v := range h.scannedItemsMap {
    		count += v
    	}
    	return count
    }
    
    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