Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for filterOnlineDisksInplace (0.27 sec)

  1. cmd/erasure-healing-common.go

    		if errs[index] != nil {
    			continue
    		}
    		// Once the file is found, save the uuid saved on disk.
    		modTimes[index] = metadata.ModTime
    	}
    	return modTimes
    }
    
    func filterOnlineDisksInplace(fi FileInfo, partsMetadata []FileInfo, onlineDisks []StorageAPI) {
    	for i, meta := range partsMetadata {
    		if fi.XLV1 == meta.XLV1 {
    			continue
    		}
    		onlineDisks[i] = nil
    	}
    }
    
    // Notes:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. cmd/erasure-object.go

    		}
    		return fi.ToObjectInfo(srcBucket, srcObject, srcOpts.Versioned || srcOpts.VersionSuspended), toObjectErr(errMethodNotAllowed, srcBucket, srcObject)
    	}
    
    	filterOnlineDisksInplace(fi, metaArr, onlineDisks)
    
    	versionID := srcInfo.VersionID
    	if srcInfo.versionOnly {
    		versionID = dstOpts.VersionID
    		// preserve destination versionId if specified.
    		if versionID == "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
Back to top