Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for FreeVersion (0.12 sec)

  1. cmd/xl-storage-free-version.go

    	}
    	return xlMetaV2Version{}, false
    }
    
    // FreeVersion returns true if j represents a free-version, false otherwise.
    func (j xlMetaV2DeleteMarker) FreeVersion() bool {
    	_, ok := j.MetaSys[ReservedMetadataPrefixLower+freeVersion]
    	return ok
    }
    
    // FreeVersion returns true if j represents a free-version, false otherwise.
    func (j xlMetaV2Version) FreeVersion() bool {
    	if j.Type == DeleteType {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Mar 02 05:11:03 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. 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)
  3. docs/bucket/versioning/DESIGN.md

     Signature [4]byte   // Signature of metadata.
     Type      uint8     // Type if the version
     Flags     uint8
    }
    ```
    
    The following flags are defined:
    
    ```
    const (
     FreeVersion = 1 << 0
     UsesDataDir = 1 << 1
     InlineData  = 1 << 2
    )
    ```
    
    The "Metadata" section contains a single version, encoded in similar fashion as each version in the `Versions` array
    of the previous version.
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jul 17 15:43:14 UTC 2022
    - 5.8K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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