Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for erasureDisks (0.11 sec)

  1. cmd/erasure-healing_test.go

    	// Test 1: Remove the object backend files from the first disk.
    	z := objLayer.(*erasureServerPools)
    	er := z.serverPools[0].sets[0]
    	erasureDisks := er.getDisks()
    	firstDisk := erasureDisks[0]
    	secondDisk := erasureDisks[1]
    
    	fileInfos, errs := readAllFileInfo(ctx, erasureDisks, "", bucket, object, "", false, true)
    	fi, err := getLatestFileInfo(ctx, fileInfos, er.defaultParityCount, errs)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 49K bytes
    - Viewed (0)
  2. cmd/object-api-multipart_test.go

    	}
    
    	z := obj.(*erasureServerPools)
    	er := z.serverPools[0].sets[0]
    
    	erasureDisks := er.getDisks()
    	ridx := rand.Intn(len(erasureDisks))
    
    	z.serverPools[0].erasureDisksMu.Lock()
    	er.getDisks = func() []StorageAPI {
    		erasureDisks[ridx] = newNaughtyDisk(erasureDisks[ridx], nil, errFaultyDisk)
    		return erasureDisks
    	}
    	z.serverPools[0].erasureDisksMu.Unlock()
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 88.8K bytes
    - Viewed (0)
  3. cmd/test-utils_test.go

    func getRandomDisks(n int) ([]string, error) {
    	var erasureDisks []string
    	for i := 0; i < n; i++ {
    		path, err := os.MkdirTemp(globalTestTmpDir, "minio-")
    		if err != nil {
    			// Remove directories created so far.
    			removeRoots(erasureDisks)
    			return nil, err
    		}
    		erasureDisks = append(erasureDisks, path)
    	}
    	return erasureDisks, nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
Back to top