Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for r5rs (0.29 sec)

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

    // If storage class is set using the env vars MINIO_STORAGE_CLASS_RRS and
    // MINIO_STORAGE_CLASS_STANDARD or server config fields corresponding values are
    // returned.
    //
    // -- if input storage class is empty then standard is assumed
    //
    // -- if input is RRS but RRS is not configured/initialized '-1' parity
    //
    //	for RRS is assumed, the caller is expected to choose the right parity
    //	at that point.
    //
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  2. internal/config/storageclass/storage-class_test.go

    		drivesCount    int
    		expectedData   int
    		expectedParity int
    	}{
    		{RRS, 16, 14, 2},
    		{STANDARD, 16, 8, 8},
    		{"", 16, 8, 8},
    		{RRS, 16, 9, 7},
    		{STANDARD, 16, 10, 6},
    		{"", 16, 9, 7},
    	}
    	for i, tt := range tests {
    		scfg := Config{
    			Standard: StorageClass{
    				Parity: 8,
    			},
    			RRS: StorageClass{
    				Parity: 2,
    			},
    			initialized: true,
    		}
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Tue Aug 15 23:04:20 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  3. internal/config/storageclass/legacy.go

    	if len(cfg.Standard.String()) == 0 && len(cfg.RRS.String()) == 0 {
    		// Do not enable storage-class if no settings found.
    		return
    	}
    	s[config.StorageClassSubSys][config.Default] = config.KVS{
    		config.KV{
    			Key:   ClassStandard,
    			Value: cfg.Standard.String(),
    		},
    		config.KV{
    			Key:   ClassRRS,
    			Value: cfg.RRS.String(),
    		},
    	}
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 1.3K bytes
    - Viewed (0)
  4. docs/erasure/storage-class/README.md

    The format to set storage class environment variables is as follows
    
    `MINIO_STORAGE_CLASS_STANDARD=EC:parity`
    `MINIO_STORAGE_CLASS_RRS=EC:parity`
    
    For example, set `MINIO_STORAGE_CLASS_RRS` parity 2 and `MINIO_STORAGE_CLASS_STANDARD` parity 3
    
    ```sh
    export MINIO_STORAGE_CLASS_STANDARD=EC:3
    export MINIO_STORAGE_CLASS_RRS=EC:2
    ```
    
    Plain Text
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Tue Aug 15 23:04:20 GMT 2023
    - 5.8K bytes
    - Viewed (1)
  5. internal/config/errors.go

    MINIO_STORAGE_CLASS_RRS: Format "EC:<Default_Parity_Reduced_Redundancy_Class>" (e.g. "EC:3"). This sets the number of parity drives for MinIO server in Reduced Redundancy mode. Objects are stored in Reduced Redundancy mode, if Put request specifies RRS storage class
    Refer to the link https://github.com/minio/minio/tree/master/docs/erasure/storage-class for more information`,
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Mon Mar 18 22:25:32 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  6. cmd/erasure-object_test.go

    			Parity: 6,
    		},
    	}
    
    	// Object for test case 5 - RRS StorageClass defined as Parity 2, MetaData in PutObject requesting RRS Class
    	// Reset global storage class flags
    	object5 := "object5"
    	metadata5 := make(map[string]string)
    	metadata5["x-amz-storage-class"] = storageclass.RRS
    	globalStorageClass.Update(storageclass.Config{
    		RRS: storageclass.StorageClass{
    			Parity: 2,
    		},
    	})
    
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 36.8K bytes
    - Viewed (0)
  7. cmd/tier-handlers.go

    		ignoreInUse, _ = strconv.ParseBool(forceStr)
    	}
    
    	// Disallow remote tiers with internal storage class names
    	switch cfg.Name {
    	case storageclass.STANDARD, storageclass.RRS:
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, errTierReservedName), r.URL)
    		return
    	}
    
    	// Refresh from the disk in case we had missed notifications about edits from peers.
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Thu Feb 15 19:52:44 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  8. internal/config/api/api.go

    	SyncEvents                  bool          `json:"sync_events"`
    	ObjectMaxVersions           int64         `json:"object_max_versions"`
    }
    
    // UnmarshalJSON - Validate SS and RRS parity when unmarshalling JSON.
    func (sCfg *Config) UnmarshalJSON(data []byte) error {
    	type Alias Config
    	aux := &struct {
    		*Alias
    	}{
    		Alias: (*Alias)(sCfg),
    	}
    	return json.Unmarshal(data, &aux)
    }
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Thu Mar 28 01:08:07 GMT 2024
    - 11.1K bytes
    - Viewed (1)
  9. docs/config/README.md

    ```
    KEY:
    storage_class  define object level redundancy
    
    ARGS:
    standard  (string)    set the parity count for default standard storage class e.g. "EC:4"
    rrs       (string)    set the parity count for reduced redundancy storage class e.g. "EC:2"
    comment   (sentence)  optionally add a comment to this setting
    ```
    
    or environment variables
    
    ```
    KEY:
    Plain Text
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Mon Sep 11 21:48:54 GMT 2023
    - 17.7K bytes
    - Viewed (0)
  10. cmd/global-heal.go

    	})
    
    	backendInfo := o.BackendInfo()
    	status.SCParity = make(map[string]int)
    	status.SCParity[storageclass.STANDARD] = backendInfo.StandardSCParity
    	status.SCParity[storageclass.RRS] = backendInfo.RRSCParity
    
    	return status, true
    }
    
    // healErasureSet lists and heals all objects in a specific erasure set
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Mon Apr 08 09:22:13 GMT 2024
    - 14.2K bytes
    - Viewed (1)
Back to top