Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for TransitionedObject (0.28 sec)

  1. cmd/object-api-datatypes.go

    	IsLatest bool
    
    	// DeleteMarker indicates if the versionId corresponds
    	// to a delete marker on an object.
    	DeleteMarker bool
    
    	// Transitioned object information
    	TransitionedObject TransitionedObject
    
    	// RestoreExpires indicates date a restored object expires
    	RestoreExpires time.Time
    
    	// RestoreOngoing indicates if a restore is in progress
    	RestoreOngoing bool
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  2. cmd/bucket-lifecycle.go

    					}
    					return err
    				}
    				// Remove the remote object
    				err := deleteObjectFromRemoteTier(es.ctx, oi.TransitionedObject.Name, oi.TransitionedObject.VersionID, oi.TransitionedObject.Tier)
    				if ignoreNotFoundErr(err) != nil {
    					transitionLogIf(es.ctx, err)
    					traceFn(ILMFreeVersionDelete, nil, err)
    					continue
    				}
    
    				// Remove this free version
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 23 15:35:37 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  3. cmd/tier-sweeper.go

    		opts.VersionID = nullVersionID
    	}
    	return opts
    }
    
    // SetTransitionState sets ILM transition related information from given info.
    func (os *objSweeper) SetTransitionState(info TransitionedObject) {
    	os.TransitionTier = info.Tier
    	os.TransitionStatus = info.Status
    	os.RemoteObject = info.Name
    	os.TransitionVersionID = info.VersionID
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Apr 17 05:09:58 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. cmd/object-api-datatypes_gen.go

    	o = msgp.AppendBool(o, z.DeleteMarker)
    	// string "TransitionedObject"
    	o = append(o, 0xb2, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x65, 0x64, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74)
    	o, err = z.TransitionedObject.MarshalMsg(o)
    	if err != nil {
    		err = msgp.WrapError(err, "TransitionedObject")
    		return
    	}
    	// string "RestoreExpires"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 70.1K bytes
    - Viewed (0)
  5. cmd/api-headers.go

    		// https://docs.aws.amazon.com/AmazonS3/latest/API/API_HeadObject.html#API_HeadObject_ResponseSyntax
    		w.Header()[xhttp.AmzStorageClass] = []string{filterStorageClass(ctx, objInfo.TransitionedObject.Tier)}
    	}
    
    	if lc, err := globalLifecycleSys.Get(objInfo.Bucket); err == nil {
    		lc.SetPredictionHeaders(w, objInfo.ToLifecycleOpts())
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 28 04:44:00 UTC 2024
    - 7K bytes
    - Viewed (0)
  6. cmd/erasure-metadata.go

    			objInfo.ReplicationStatus = replication.StatusType(st)
    		}
    	}
    	objInfo.VersionPurgeStatus = fi.VersionPurgeStatus()
    
    	objInfo.TransitionedObject = TransitionedObject{
    		Name:        fi.TransitionedObjName,
    		VersionID:   fi.TransitionVersionID,
    		Status:      fi.TransitionStatus,
    		FreeVersion: fi.TierFreeVersion(),
    		Tier:        fi.TransitionTier,
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  7. cmd/object-handlers.go

    		if !srcInfo.metadataOnly {
    			goiOpts := os.GetOpts()
    			if !globalTierConfigMgr.Empty() {
    				if goi, gerr := getObjectInfo(ctx, dstBucket, dstObject, goiOpts); gerr == nil {
    					os.SetTransitionState(goi.TransitionedObject)
    				}
    			}
    		}
    
    		copyObjectFn := objectAPI.CopyObject
    
    		// Copy source object to destination, if source and destination
    		// object is same then only metadata is updated.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
  8. cmd/xl-storage.go

    			// tracking deleted transitioned objects
    			switch {
    			case oi.DeleteMarker, oi.TransitionedObject.FreeVersion:
    				continue
    			}
    			tier := oi.StorageClass
    			if tier == "" {
    				tier = storageclass.STANDARD // no SC means "STANDARD"
    			}
    			if oi.TransitionedObject.Status == lifecycle.TransitionComplete {
    				tier = oi.TransitionedObject.Tier
    			}
    			if sizeS.tiers != nil {
    				if st, ok := sizeS.tiers[tier]; ok {
    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/object-multipart-handlers.go

    		// Get appropriate object info to identify the remote object to delete
    		goiOpts := os.GetOpts()
    		if goi, gerr := objectAPI.GetObjectInfo(ctx, bucket, object, goiOpts); gerr == nil {
    			os.SetTransitionState(goi.TransitionedObject)
    		}
    	}
    
    	opts, err := completeMultipartOpts(ctx, r, bucket, object)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    	opts.Versioned = versioned
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Aug 31 18:25:48 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  10. cmd/bucket-handlers.go

    		}
    
    		if !globalTierConfigMgr.Empty() {
    			oss[index] = newObjSweeper(bucket, object.ObjectName).WithVersion(opts.VersionID).WithVersioning(opts.Versioned, opts.VersionSuspended)
    			oss[index].SetTransitionState(goi.TransitionedObject)
    		}
    
    		// All deletes on directory objects needs to be for `nullVersionID`
    		if isDirObject(object.ObjectName) && object.VersionID == "" {
    			object.VersionID = nullVersionID
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
Back to top