- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for reduceCommonDataDir (0.15 sec)
-
cmd/erasure-metadata-utils.go
return []byte{} } // figure out the most commonVersions across disk that satisfies // the 'writeQuorum' this function returns '0' if quorum cannot // be achieved and disks have too many inconsistent versions. func reduceCommonDataDir(dataDirs []string, writeQuorum int) (dataDir string) { dataDirsCount := make(map[string]int) for _, ddir := range dataDirs { dataDirsCount[ddir]++ } max := 0 for ddir, count := range dataDirsCount {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 11.7K bytes - Viewed (0) -
cmd/erasure-object.go
continue } if !bytes.Equal(dversions, versions) { if len(dversions) > len(versions) { versions = dversions } break } } dataDir = reduceCommonDataDir(dataDirs, writeQuorum) } // We can safely allow RenameData errors up to len(er.getDisks()) - writeQuorum // otherwise return failure. return evalDisks(disks, errs), versions, dataDir, err }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 31 22:10:24 UTC 2024 - 78.8K bytes - Viewed (0)