- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 341 for parity (0.09 sec)
-
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 Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 8.4K bytes - Viewed (0) -
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 Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 21.3K bytes - Viewed (0) -
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 Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 22.4K bytes - Viewed (0) -
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 Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Feb 26 09:25:50 UTC 2025 - 8K bytes - Viewed (2) -
docs/debugging/xl-meta/main.go
otherPart := getPartNum(other[0]) if part != otherPart { fmt.Println("part ", part, " != other part", otherPart, other[0]) continue } // fmt.Println("part ", part, "other part", otherPart, other[0]) fmt.Printf("Reading version %q Part %d.\n", otherKey, otherPart) // os.Exit(0) otherM, err := readAndMap(other, part, block) if err != nil { fmt.Println(err)
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 40.4K bytes - Viewed (0) -
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 Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 8.5K bytes - Viewed (0) -
cmd/erasure-object_test.go
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 38.3K bytes - Viewed (0) -
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 Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 3.7K bytes - Viewed (0) -
docs/distributed/README.md
Refer to sizing guide for more understanding on default values chosen depending on your erasure stripe size [here](https://github.com/minio/minio/blob/master/docs/distributed/SIZING.md). Parity settings can be changed using [storage classes](https://github.com/minio/minio/tree/master/docs/erasure/storage-class). ### Consistency Guarantees
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Aug 12 18:20:36 UTC 2025 - 8.9K bytes - Viewed (0) -
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 Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 11.8K bytes - Viewed (0)