Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 53 for parityOK (0.05 sec)

  1. 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))
    }
    
    //msgp:clearomitted
    
    //go:generate msgp -file=$GOFILE -unexported
    
    // A xlMetaV1Object represents `xl.meta` metadata header.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. cmd/metrics-v3-cluster-config.go

    )
    
    var (
    	configRRSParityMD = NewGaugeMD(configRRSParity,
    		"Reduced redundancy storage class parity")
    	configStandardParityMD = NewGaugeMD(configStandardParity,
    		"Standard storage class parity")
    )
    
    // loadClusterConfigMetrics - `MetricsLoaderFn` for cluster config
    // such as standard and RRS parity.
    func loadClusterConfigMetrics(ctx context.Context, m MetricValues, c *metricsCache) error {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 12:50:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 15:19:10 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  4. cmd/erasure-metadata.go

    	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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  5. docs/distributed/DESIGN.md

    of common SLA here original cluster had 1024 drives with 16 drives per erasure set with default parity of '4', second pool is expected to have a minimum of 8 drives per erasure set to match the original cluster SLA (parity count) of '4'. '12' drives stripe per erasure set in the second pool satisfies the original pool's parity count.
    
    Refer to the sizing guide with details on the default parity count chosen for different erasure stripe sizes [here](https://github.com/minio/minio/blob/mas...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 15 23:04:20 UTC 2023
    - 8K bytes
    - Viewed (0)
  6. cmd/erasure-object_test.go

    	// Object for test case 6 - RRS StorageClass defined as Parity 2, MetaData in PutObject requesting Standard Storage Class
    	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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 36.8K bytes
    - Viewed (0)
  7. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:22:04 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. cmd/erasure-coding.go

    func erasureSelfTest() {
    	// Approx runtime ~1ms
    	var testConfigs [][2]uint8
    	for total := uint8(4); total < 16; total++ {
    		for data := total / 2; data < total; data++ {
    			parity := total - data
    			testConfigs = append(testConfigs, [2]uint8{data, parity})
    		}
    	}
    	got := make(map[[2]uint8]map[ErasureAlgo]uint64, len(testConfigs))
    	// Copied from output of fmt.Printf("%#v", got) at the end.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jan 31 02:11:45 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  9. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  10. cmd/erasure-sets_test.go

    		t.Fatalf("Unable to format drives for erasure, %s", err)
    	}
    
    	ep := PoolEndpoints{Endpoints: endpoints}
    
    	parity, err := ecDrivesNoConfig(16)
    	if err != nil {
    		t.Fatalf("Unexpected error during EC drive config: %v", err)
    	}
    	if _, err := newErasureSets(ctx, ep, storageDisks, format, parity, 0); err != nil {
    		t.Fatalf("Unable to initialize erasure")
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 12 07:21:56 UTC 2024
    - 6.9K bytes
    - Viewed (0)
Back to top