Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for outDatedDisks (0.17 sec)

  1. cmd/erasure-healing.go

    				return result, err
    			}
    
    			// outDatedDisks that had write errors should not be
    			// written to for remaining parts, so we nil it out.
    			for i, disk := range outDatedDisks {
    				if disk == OfflineDisk {
    					continue
    				}
    
    				// A non-nil stale disk which did not receive
    				// a healed part checksum had a write error.
    				if writers[i] == nil {
    					outDatedDisks[i] = nil
    					disksToHealCount--
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  2. cmd/erasure-healing-common_test.go

    			t.Errorf("Test case %d, expect to pass but failed. Wanted modTime: %s, got modTime: %s\n", i+1, testCase.time, ctime)
    		}
    	}
    }
    
    // TestListOnlineDisks - checks if listOnlineDisks and outDatedDisks
    // are consistent with each other.
    func TestListOnlineDisks(t *testing.T) {
    	ctx, cancel := context.WithCancel(context.Background())
    	defer cancel()
    
    	obj, disks, err := prepareErasure16(ctx)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 23K bytes
    - Viewed (1)
Back to top