Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 73 for Parity (0.07 sec)

  1. 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)
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  2. cmd/erasure-metadata_test.go

    			parities[i] = -1             // invalid fi are assigned parity -1
    		}
    		res.metaArr = metaArr
    		res.parities = parities
    		res.errs = make([]error, N)
    		if agree >= N-parity {
    			res.parity = parity
    		} else {
    			res.parity = -1
    		}
    
    		return res
    	}
    	tests := []struct {
    		metaArr  []FileInfo
    		errs     []error
    		parities []int
    		parity   int
    	}{
    		// More than simple majority consensus
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  3. docs/config/README.md

    ```
    
    Example:
    
    ```sh
    export MINIO_SITE_REGION="us-west-0"
    export MINIO_SITE_NAME="sfo-rack-1"
    minio server /data
    ```
    
    ### Storage Class
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 18.1K bytes
    - Viewed (1)
  4. 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)...
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. 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
    		}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 21.3K bytes
    - Viewed (0)
  6. 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)
    		}
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  7. docs/debugging/xl-meta/main.go

    					if err != nil {
    						fmt.Println(err)
    						continue
    					}
    					if m.objSize != otherM.objSize {
    						continue
    					}
    
    					// If data+parity matches, combine.
    					if m.parity == otherM.parity && m.data == otherM.data {
    						for k, v := range m.parityData {
    							if otherM.parityData[k] == nil {
    								continue
    							}
    							for i, data := range v {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  8. cmd/fmt-gen.go

    import (
    	"encoding/json"
    	"log"
    	"os"
    	"path/filepath"
    
    	"github.com/klauspost/compress/zip"
    	"github.com/minio/cli"
    )
    
    var fmtGenFlags = []cli.Flag{
    	cli.IntFlag{
    		Name:  "parity",
    		Usage: "specify erasure code parity",
    	},
    	cli.StringFlag{
    		Name:  "deployment-id",
    		Usage: "deployment-id of the MinIO cluster for which format.json is needed",
    	},
    	cli.StringFlag{
    		Name:   "address",
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  9. cmd/erasure-object_test.go

    	object6 := "object6"
    	metadata6 := make(map[string]string)
    	metadata6["x-amz-storage-class"] = storageclass.STANDARD
    	globalStorageClass.Update(storageclass.Config{
    		Standard: storageclass.StorageClass{
    			Parity: 4,
    		},
    		RRS: storageclass.StorageClass{
    			Parity: 2,
    		},
    	})
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 38.3K bytes
    - Viewed (0)
  10. cmd/erasure-encode_test.go

    			}
    		}
    	}
    }
    
    // Benchmarks
    
    func benchmarkErasureEncode(data, parity, dataDown, parityDown int, size int64, b *testing.B) {
    	setup, err := newErasureTestSetup(b, data, parity, blockSizeV2)
    	if err != nil {
    		b.Fatalf("failed to create test setup: %v", err)
    	}
    	erasure, err := NewErasure(context.Background(), data, parity, blockSizeV2)
    	if err != nil {
    		b.Fatalf("failed to create ErasureStorage: %v", err)
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 11.8K bytes
    - Viewed (0)
Back to top