Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for AvailabilityOptimized (0.41 sec)

  1. internal/config/storageclass/storage-class.go

    		return false
    	}
    	return sCfg.Optimize == "capacity"
    }
    
    // AvailabilityOptimized - returns true if the storage-class is availability
    // optimized, meaning we will use additional parities when drives are offline
    // to retain parity SLA.
    //
    // Default is "availability" optimized.
    func (sCfg *Config) AvailabilityOptimized() bool {
    	ConfigLock.RLock()
    	defer ConfigLock.RUnlock()
    	if !sCfg.initialized {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  2. cmd/erasure-multipart.go

    	parityDrives := globalStorageClass.GetParityForSC(userDefined[xhttp.AmzStorageClass])
    	if parityDrives < 0 {
    		parityDrives = er.defaultParityCount
    	}
    
    	if globalStorageClass.AvailabilityOptimized() {
    		// If we have offline disks upgrade the number of erasure codes for this object.
    		parityOrig := parityDrives
    
    		var offlineDrives int
    		for _, disk := range onlineDisks {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 44.7K bytes
    - Viewed (0)
  3. cmd/erasure-object.go

    	if parityDrives < 0 {
    		parityDrives = er.defaultParityCount
    	}
    	if opts.MaxParity {
    		parityDrives = len(storageDisks) / 2
    	}
    	if !opts.MaxParity && globalStorageClass.AvailabilityOptimized() {
    		// If we have offline disks upgrade the number of erasure codes for this object.
    		parityOrig := parityDrives
    
    		var offlineDrives int
    		for _, disk := range storageDisks {
    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