Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for offlineDrives (0.05 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)
Back to top