Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for loadFormatErasureAll (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  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))
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 23.1K bytes
    - Click Count (0)
  2. 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 {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 12.7K bytes
    - Click Count (0)
Back to Top