Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for metadataOnly (0.09 sec)

  1. cmd/object-api-datatypes.go

    		Parts:                      o.Parts,
    		Writer:                     o.Writer,
    		Reader:                     o.Reader,
    		PutObjReader:               o.PutObjReader,
    		metadataOnly:               o.metadataOnly,
    		versionOnly:                o.versionOnly,
    		keyRotation:                o.keyRotation,
    		AccTime:                    o.AccTime,
    		Legacy:                     o.Legacy,
    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/object-handlers.go

    	// this changes for encryption which can be observed below.
    	if cpSrcDstSame {
    		srcInfo.metadataOnly = true
    	}
    
    	var chStorageClass bool
    	if dstSc != "" && dstSc != srcInfo.StorageClass {
    		chStorageClass = true
    		srcInfo.metadataOnly = false
    	} // no changes in storage-class expected so its a metadataonly operation.
    
    	var reader io.Reader = gr
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
  3. cmd/batch-rotate.go

    	}
    	if err = rotateKey(ctx, []byte{}, newKeyID, []byte{}, r.Bucket, oi.Name, encMetadata, newKeyContext); err != nil {
    		return err
    	}
    
    	// Since we are rotating the keys, make sure to update the metadata.
    	oi.metadataOnly = true
    	oi.keyRotation = true
    	for k, v := range encMetadata {
    		oi.UserDefined[k] = v
    	}
    	if _, err := api.CopyObject(ctx, r.Bucket, oi.Name, r.Bucket, oi.Name, oi, ObjectOptions{
    		VersionID: oi.VersionID,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  4. cmd/storage-datatypes.go

    	Files        []string `msg:"fl"`           // Individual files to read.
    	MaxSize      int64    `msg:"ms"`           // Return error if size is exceed.
    	MetadataOnly bool     `msg:"mo"`           // Read as XL meta and truncate data.
    	AbortOn404   bool     `msg:"ab"`           // Stop reading after first file not found.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  5. cmd/storage-datatypes_gen.go

    			}
    		case "ms":
    			z.MaxSize, err = dc.ReadInt64()
    			if err != nil {
    				err = msgp.WrapError(err, "MaxSize")
    				return
    			}
    		case "mo":
    			z.MetadataOnly, err = dc.ReadBool()
    			if err != nil {
    				err = msgp.WrapError(err, "MetadataOnly")
    				return
    			}
    		case "ab":
    			z.AbortOn404, err = dc.ReadBool()
    			if err != nil {
    				err = msgp.WrapError(err, "AbortOn404")
    				return
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 150.2K bytes
    - Viewed (0)
  6. cmd/erasure-sets.go

    	srcSet := s.getHashedSet(srcObject)
    	dstSet := s.getHashedSet(dstObject)
    
    	cpSrcDstSame := srcSet == dstSet
    	// Check if this request is only metadata update.
    	if cpSrcDstSame && srcInfo.metadataOnly {
    		// Version ID is set for the destination and source == destination version ID.
    		// perform an in-place update.
    		if dstOpts.VersionID != "" && srcOpts.VersionID == dstOpts.VersionID {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 27 10:41:37 UTC 2024
    - 37K bytes
    - Viewed (1)
  7. cmd/erasure-object.go

    	if !dstOpts.NoAuditLog {
    		auditObjectErasureSet(ctx, "CopyObject", dstObject, &er)
    	}
    
    	// This call shouldn't be used for anything other than metadata updates or adding self referential versions.
    	if !srcInfo.metadataOnly {
    		return oi, NotImplemented{}
    	}
    
    	if !dstOpts.NoLock {
    		lk := er.NewNSLock(dstBucket, dstObject)
    		lkctx, err := lk.GetLock(ctx, globalOperationTimeout)
    		if err != nil {
    			return oi, err
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  8. cmd/erasure-server-pool.go

    		dstOpts.NoLock = true
    	}
    
    	poolIdx, err := z.getPoolIdxNoLock(ctx, dstBucket, dstObject, srcInfo.Size)
    	if err != nil {
    		return objInfo, err
    	}
    
    	if cpSrcDstSame && srcInfo.metadataOnly {
    		// Version ID is set for the destination and source == destination version ID.
    		if dstOpts.VersionID != "" && srcOpts.VersionID == dstOpts.VersionID {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  9. cmd/xl-storage.go

    		var data []byte
    		var mt time.Time
    
    		fullPath := pathJoin(volumeDir, req.Prefix, f)
    		w := xioutil.NewDeadlineWorker(globalDriveConfig.GetMaxTimeout())
    		if err := w.Run(func() (err error) {
    			if req.MetadataOnly {
    				data, mt, err = s.readMetadataWithDMTime(ctx, fullPath)
    			} else {
    				data, mt, err = s.readAllDataWithDMTime(ctx, req.Bucket, volumeDir, fullPath)
    			}
    			return err
    		}); err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
Back to top