Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for FreeVersion (0.17 sec)

  1. cmd/xl-storage-format-v2.go

    		if header.FreeVersion() {
    			nonFreeVersions--
    			// remember the latest free version; will return this FileInfo if no non-free version remain
    			var freeVersion xlMetaV2Version
    			if inclFreeVers && !freeFound {
    				// ignore unmarshalling errors, will return errFileNotFound in that case
    				if _, err := freeVersion.unmarshalV(x.metaV, ver.meta); err == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 64K bytes
    - Viewed (1)
  2. cmd/metacache-entries.go

    func (e *metaCacheEntry) isAllFreeVersions() bool {
    	if e.cached != nil {
    		if len(e.cached.versions) == 0 {
    			return true
    		}
    		for _, v := range e.cached.versions {
    			if !v.header.FreeVersion() {
    				return false
    			}
    		}
    		return true
    	}
    	if !isXL2V1Format(e.metadata) {
    		return false
    	}
    	if meta, _, err := isIndexedMetaV2(e.metadata); meta != nil {
    		return meta.AllHidden(false)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  3. cmd/object-api-datatypes_gen.go

    			z.Tier, bts, err = msgp.ReadStringBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "Tier")
    				return
    			}
    		case "FreeVersion":
    			z.FreeVersion, bts, err = msgp.ReadBoolBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "FreeVersion")
    				return
    			}
    		case "Status":
    			z.Status, bts, err = msgp.ReadStringBytes(bts)
    			if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 70.1K bytes
    - Viewed (0)
  4. cmd/object-api-datatypes.go

    	EncodingType string // Not supported yet.
    }
    
    // TransitionedObject transitioned object tier and status.
    type TransitionedObject struct {
    	Name        string
    	VersionID   string
    	Tier        string
    	FreeVersion bool
    	Status      string
    }
    
    // DeletedObjectInfo - container for list objects versions deleted objects.
    type DeletedObjectInfo struct {
    	// Name of the bucket.
    	Bucket string
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  5. cmd/erasure-metadata.go

    	objInfo.TransitionedObject = TransitionedObject{
    		Name:        fi.TransitionedObjName,
    		VersionID:   fi.TransitionVersionID,
    		Status:      fi.TransitionStatus,
    		FreeVersion: fi.TierFreeVersion(),
    		Tier:        fi.TransitionTier,
    	}
    
    	// etag/md5Sum has already been extracted. We need to
    	// remove to avoid it from appearing as part of
    	// response headers. e.g, X-Minio-* or X-Amz-*.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  6. cmd/xl-storage.go

    				if st, ok := sizeS.tiers[tier]; ok {
    					sizeS.tiers[tier] = st.add(oi.tierStats())
    				}
    			}
    		}
    
    		// apply tier sweep action on free versions
    		for _, freeVersion := range fivs.FreeVersions {
    			oi := freeVersion.ToObjectInfo(item.bucket, item.objectPath(), versioned)
    			done = globalScannerMetrics.time(scannerMetricTierObjSweep)
    			globalExpiryState.enqueueFreeVersion(oi)
    			done()
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  7. cmd/bucket-lifecycle.go

    				transitionLogIf(es.ctx, deleteObjectFromRemoteTier(es.ctx, v.ObjName, v.VersionID, v.TierName))
    			case freeVersionTask:
    				oi := v.ObjectInfo
    				traceFn := globalLifecycleSys.trace(oi)
    				if !oi.TransitionedObject.FreeVersion {
    					// nothing to be done
    					continue
    				}
    
    				ignoreNotFoundErr := func(err error) error {
    					switch {
    					case isErrVersionNotFound(err), isErrObjectNotFound(err):
    						return nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 23 15:35:37 UTC 2024
    - 33.7K bytes
    - Viewed (0)
Back to top