Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for LatestOnly (0.26 sec)

  1. cmd/object-api-interface_gen.go

    		case "Marker":
    			z.Marker, bts, err = msgp.ReadStringBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "Marker")
    				return
    			}
    		case "LatestOnly":
    			z.LatestOnly, bts, err = msgp.ReadBoolBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "LatestOnly")
    				return
    			}
    		case "AskDisks":
    			z.AskDisks, bts, err = msgp.ReadStringBytes(bts)
    			if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  2. cmd/object-api-interface.go

    type WalkOptions struct {
    	Filter       func(info FileInfo) bool // return WalkFilter returns 'true/false'
    	Marker       string                   // set to skip until this object
    	LatestOnly   bool                     // returns only latest versions for all matching objects
    	AskDisks     string                   // dictates how many disks are being listed
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  3. cmd/batch-expire.go

    		}
    		for _, prefix := range prefixes {
    			prefixResultCh := make(chan itemOrErr[ObjectInfo], workerSize)
    			err := api.Walk(ctx, r.Bucket, prefix, prefixResultCh, WalkOptions{
    				Marker:       lastObject,
    				LatestOnly:   false, // we need to visit all versions of the object to implement purge: retainVersions
    				VersionsSort: WalkVersionsSortDesc,
    			})
    			if err != nil {
    				cancelCause(err)
    				xioutil.SafeClose(results)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  4. 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)
Back to top