Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for countFailed (0.07 sec)

  1. cmd/global-heal.go

    						// queueing happens across namespace, ignore
    						// objects that are not found.
    						return
    					}
    					result = healEntryFailure(0)
    					bgSeq.countFailed(madmin.HealItemObject)
    					healingLogIf(ctx, fmt.Errorf("unable to heal object %s/%s: %w", bucket, entry.name, err))
    				} else {
    					bgSeq.countHealed(madmin.HealItemObject)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Apr 04 13:49:12 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  2. cmd/admin-heal-ops.go

    	// Make a copy before returning the value
    	retMap := make(map[madmin.HealItemType]int64, len(h.healFailedItemsMap))
    	maps.Copy(retMap, h.healFailedItemsMap)
    
    	return retMap
    }
    
    func (h *healSequence) countFailed(healType madmin.HealItemType) {
    	h.mutex.Lock()
    	defer h.mutex.Unlock()
    
    	h.healFailedItemsMap[healType]++
    	h.lastHealActivity = UTCNow()
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 25.4K bytes
    - Viewed (0)
Back to top