Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for offlineDrives (0.06 sec)

  1. cmd/erasure-multipart.go

    		// If we have offline disks upgrade the number of erasure codes for this object.
    		parityOrig := parityDrives
    
    		var offlineDrives int
    		for _, disk := range onlineDisks {
    			if disk == nil || !disk.IsOnline() {
    				parityDrives++
    				offlineDrives++
    				continue
    			}
    		}
    
    		if offlineDrives >= (len(onlineDisks)+1)/2 {
    			// if offline drives are more than 50% of the drives
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 44.7K bytes
    - Viewed (0)
  2. cmd/erasure-object.go

    		parityOrig := parityDrives
    
    		var offlineDrives int
    		for _, disk := range storageDisks {
    			if disk == nil || !disk.IsOnline() {
    				parityDrives++
    				offlineDrives++
    				continue
    			}
    		}
    
    		if offlineDrives >= (len(storageDisks)+1)/2 {
    			// if offline drives are more than 50% of the drives
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
Back to top