Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for mergeXLV2Versions (0.25 sec)

  1. cmd/metacache-entries.go

    	// Create a new merged result.
    	selected = &metaCacheEntry{
    		name:     selected.name,
    		reusable: true,
    		cached:   &xlMetaV2{metaV: selected.cached.metaV},
    	}
    	selected.cached.versions = mergeXLV2Versions(r.objQuorum, r.strict, r.requestedVersions, r.candidates...)
    	if len(selected.cached.versions) == 0 {
    		return nil, false
    	}
    
    	// Reserialize
    	var err error
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  2. cmd/xl-storage-format-v2.go

    	}
    	return versions, nil
    }
    
    // mergeXLV2Versions will merge all versions, typically from different disks
    // that have at least quorum entries in all metas.
    // Each version slice should be sorted.
    // Quorum must be the minimum number of matching metadata files.
    // Quorum should be > 1 and <= len(versions).
    // If strict is set to false, entries that match type
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  3. cmd/erasure-object.go

    		if metadataArray[index] != nil {
    			metadataShallowVersions[index] = metadataArray[index].versions
    		}
    	}
    
    	readQuorum := (len(rawFileInfos) + 1) / 2
    	meta := &xlMetaV2{versions: mergeXLV2Versions(readQuorum, false, 1, metadataShallowVersions...)}
    	lfi, err := meta.ToFileInfo(bucket, object, "", inclFreeVers, true)
    	if err != nil {
    		for i := range errs {
    			if errs[i] == nil {
    				errs[i] = err
    			}
    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