Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 78 for Flarity (0.18 sec)

  1. cmd/erasure-metadata.go

    	occMap := make(map[int]int)
    	for _, p := range parities {
    		occMap[p]++
    	}
    
    	var maxOcc, cparity int
    	for parity, occ := range occMap {
    		if parity == -1 {
    			// Ignore non defined parity
    			continue
    		}
    
    		readQuorum := N - parity
    		if defaultParityCount > 0 && parity == 0 {
    			// In this case, parity == 0 implies that this object version is a
    			// delete marker
    			readQuorum = N/2 + 1
    		}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 19K bytes
    - Viewed (1)
  2. internal/config/storageclass/storage-class.go

    	if err != nil {
    		return err
    	}
    	sc.Parity = s.Parity
    	return nil
    }
    
    // MarshalText - marshals storage class string.
    func (sc *StorageClass) MarshalText() ([]byte, error) {
    	if sc.Parity != 0 {
    		return []byte(fmt.Sprintf("%s:%d", schemePrefix, sc.Parity)), nil
    	}
    	return []byte{}, nil
    }
    
    func (sc *StorageClass) String() string {
    	if sc.Parity != 0 {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  3. cmd/xl-storage-format-v1.go

    		version == xlMetaVersion100) &&
    		format == xlMetaFormat)
    }
    
    // Verifies if the backend format metadata is sane by validating
    // the ErasureInfo, i.e. data and parity blocks.
    func isXLMetaErasureInfoValid(data, parity int) bool {
    	return ((data >= parity) && (data > 0) && (parity >= 0))
    }
    
    //go:generate msgp -file=$GOFILE -unexported
    
    // A xlMetaV1Object represents `xl.meta` metadata header.
    type xlMetaV1Object struct {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  4. docs/erasure/storage-class/README.md

    ### Allowed values for STANDARD storage class
    
    `STANDARD` storage class implies more parity than `REDUCED_REDUNDANCY` class. So, `STANDARD` parity drives should be
    
    - Greater than or equal to 2, if `REDUCED_REDUNDANCY` parity is not set.
    - Greater than `REDUCED_REDUNDANCY` parity, if it is set.
    
    Parity blocks can not be higher than data blocks, so `STANDARD` storage class parity can not be higher than N/2. (N being total number of drives)
    
    Plain Text
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Aug 15 23:04:20 GMT 2023
    - 5.8K bytes
    - Viewed (1)
  5. internal/config/storageclass/storage-class_test.go

    			Standard: StorageClass{
    				Parity: 8,
    			},
    			RRS: StorageClass{
    				Parity: 2,
    			},
    			initialized: true,
    		}
    		// Set env var for test case 4
    		if i+1 == 4 {
    			scfg.RRS.Parity = 7
    		}
    		// Set env var for test case 5
    		if i+1 == 5 {
    			scfg.Standard.Parity = 6
    		}
    		// Set env var for test case 6
    		if i+1 == 6 {
    			scfg.Standard.Parity = 7
    		}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Aug 15 23:04:20 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  6. docs/erasure/README.md

    reconstruct missing or corrupted data. MinIO uses Reed-Solomon code to shard objects into variable data and parity blocks. For example, in a 12 drive setup, an object can be sharded to a variable number of data and parity blocks across all the drives - ranging from six data and six parity blocks to ten data and two parity blocks.
    
    By default, MinIO shards the objects across N/2 data and N/2 parity drives. Though, you can use [storage classes](https://github.com/minio/minio/tree/master/docs/erasure/storage-class)...
    Plain Text
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 4.1K bytes
    - Viewed (0)
  7. internal/config/errors.go

    		"Please check the value",
    		`MINIO_STORAGE_CLASS_STANDARD: Format "EC:<Default_Parity_Standard_Class>" (e.g. "EC:3"). This sets the number of parity drives for MinIO server in Standard mode. Objects are stored in Standard mode, if storage class is not defined in Put request
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Mar 18 22:25:32 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  8. cmd/erasure-healing-common_test.go

    		parities := listObjectParities(metaArr, make([]error, len(metaArr)))
    		parity := commonParity(parities, 5)
    		var match int
    		for _, fi := range metaArr {
    			if fi.Erasure.ParityBlocks == parity {
    				match++
    			}
    		}
    		if match < len(metaArr)-parity {
    			t.Fatalf("Test %d: Expected %d drives with parity=%d, but got %d", idx, len(metaArr)-parity, parity, match)
    		}
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 23K bytes
    - Viewed (1)
  9. internal/config/storageclass/help.go

    	}
    
    	Help = config.HelpKVS{
    		config.HelpKV{
    			Key:         ClassStandard,
    			Description: `set the parity count for default standard storage class` + defaultHelpPostfix(ClassStandard),
    			Optional:    true,
    			Type:        "string",
    		},
    		config.HelpKV{
    			Key:         ClassRRS,
    			Description: `set the parity count for reduced redundancy storage class` + defaultHelpPostfix(ClassRRS),
    			Optional:    true,
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Mar 26 22:06:19 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  10. docs/distributed/SIZING.md

    # Erasure code sizing guide
    
    ## Toy Setups
    
    Capacity constrained environments, MinIO will work but not recommended for production.
    
    | servers | drives (per node) | stripe_size | parity chosen (default) | tolerance for reads (servers) | tolerance for writes (servers) |
    |--------:|------------------:|------------:|------------------------:|------------------------------:|-------------------------------:|
    Plain Text
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Aug 15 23:04:20 GMT 2023
    - 3.9K bytes
    - Viewed (0)
Back to top