- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for loadFormatErasureAll (0.15 sec)
-
cmd/prepare-storage.go
// Attempt to load all `format.json` from all disks. formatConfigs, sErrs := loadFormatErasureAll(storageDisks, false) if err := checkDiskFatalErrs(sErrs); err != nil { return nil, err } for i, err := range sErrs {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 12 20:51:54 UTC 2024 - 11.1K bytes - Viewed (1) -
cmd/format-erasure.go
func quorumUnformattedDisks(errs []error) bool { return countErrs(errs, errUnformattedDisk) >= (len(errs)/2)+1 } // loadFormatErasureAll - load all format config from all input disks in parallel. func loadFormatErasureAll(storageDisks []StorageAPI, heal bool) ([]*formatErasureV3, []error) { // Initialize list of errors. g := errgroup.WithNErrs(len(storageDisks))
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 23.2K bytes - Viewed (0) -
cmd/format-erasure_test.go
formats[1] = nil expThis := formats[2].Erasure.This formats[2].Erasure.This = "" if err := fixFormatErasureV3(storageDisks, endpoints, formats); err != nil { t.Fatal(err) } newFormats, errs := loadFormatErasureAll(storageDisks, false) for _, err := range errs { if err != nil && err != errUnformattedDisk { t.Fatal(err) } } gotThis := newFormats[2].Erasure.This if expThis != gotThis {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Apr 15 08:25:46 UTC 2024 - 12.9K bytes - Viewed (0) -
cmd/erasure-sets.go
healthCheck: false, }) defer func(storageDisks []StorageAPI) { if err != nil { closeStorageDisks(storageDisks...) } }(storageDisks) formats, sErrs := loadFormatErasureAll(storageDisks, true) if err = checkFormatErasureValues(formats, storageDisks, s.setDriveCount); err != nil { return madmin.HealResultItem{}, err } refFormat, err := getFormatErasureInQuorum(formats)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 27 10:41:37 UTC 2024 - 37K bytes - Viewed (1)