Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. cmd/erasure-healing_test.go

    	}
    
    	// Check the state of all other disks (should be ok)
    	for i, h := range append(hr.Before.Drives[1:], hr.After.Drives...) {
    		if h.State != madmin.DriveStateOk {
    			t.Fatalf("Unexpected drive state (%d): %v", i+1, h.State)
    		}
    	}
    
    	// Heal the same object again
    	hr, err = obj.HealObject(ctx, bucket, object, "", madmin.HealOpts{ScanMode: madmin.HealNormalScan})
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool.go

    			_, ok := globalLocalDrivesMap[disk.Endpoint]
    			globalLocalDrivesMu.RUnlock()
    			if ok {
    				continue
    			}
    		}
    
    		if disk.PoolIndex > -1 && disk.SetIndex > -1 {
    			if disk.State == madmin.DriveStateOk {
    				si := erasureSetUpCount[disk.PoolIndex][disk.SetIndex]
    				si.online++
    				if disk.Healing {
    					si.healing++
    					drivesHealing++
    				}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
Back to top