Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for requestedVersions (0.12 sec)

  1. cmd/metacache-entries.go

    	// An optimization request only an 'n' amount of versions from xl.meta
    	// to avoid resolving all versions to figure out the latest 'version'
    	// for ListObjects, ListObjectsV2
    	requestedVersions int
    
    	bucket string // Name of the bucket. Used for generating cached fileinfo.
    	strict bool   // Versions must match exactly, including all metadata.
    
    	// Reusable slice for resolution
    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/erasure-server-pool.go

    						disks[i], disks[j] = disks[j], disks[i]
    					})
    					fallbackDisks = disks[askDisks:]
    					disks = disks[:askDisks]
    				}
    
    				requestedVersions := 0
    				if opts.LatestOnly {
    					requestedVersions = 1
    				}
    
    				// However many we ask, versions must exist on ~50%
    				listingQuorum := (askDisks + 1) / 2
    
    				// How to resolve partial results.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  3. cmd/xl-storage-format-v2.go

    						versions[i] = versions[i][1:]
    						continue
    					}
    				}
    				// Keep top entry (and remaining)...
    				break
    			}
    		}
    
    		if requestedVersions > 0 && requestedVersions == nVersions {
    			merged = append(merged, versions[0]...)
    			break
    		}
    	}
    
    	// Sanity check. Enable if duplicates show up.
    	if false {
    		found := make(map[[16]byte]struct{})
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  4. cmd/metacache-set.go

    		bucket:    o.Bucket,
    	}
    
    	// Maximum versions requested for "latest" object
    	// resolution on versioned buckets, this is to be only
    	// used when o.Versioned is false
    	if !o.Versioned {
    		resolver.requestedVersions = 1
    	}
    	var limit int
    	if o.Limit > 0 && o.StopDiskAtLimit {
    		// Over-read by 4 + 1 for every 16 in limit to give some space for resolver,
    		// allow for truncating the list and know if we have more results.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jul 12 16:23:16 UTC 2024
    - 30.7K bytes
    - Viewed (0)
Back to top