- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for dataDirsCount (0.06 sec)
-
cmd/erasure-metadata-utils.go
// 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 { if max < count { max = count dataDir = ddir } } if max >= writeQuorum { return dataDir } return ""
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 11.7K bytes - Viewed (0)