Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getLocalDisksToHeal (0.09 sec)

  1. cmd/background-newdisks-heal-ops.go

    	if env.Get("_MINIO_AUTO_DRIVE_HEALING", config.EnableOn) == config.EnableOn {
    		globalBackgroundHealState.pushHealLocalDisks(getLocalDisksToHeal()...)
    		go monitorLocalDisksAndHeal(ctx, z)
    	}
    
    	go globalMRFState.startMRFPersistence()
    	go globalMRFState.healRoutine(z)
    }
    
    func getLocalDisksToHeal() (disksToHeal Endpoints) {
    	globalLocalDrivesMu.RLock()
    	localDrives := cloneDrives(globalLocalDrivesMap)
    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/global-heal.go

    	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 {
    		healing := globalBackgroundHealState.getLocalHealingDisks()
    		for _, disk := range healing {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.3K bytes
    - Viewed (0)
Back to top