Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for DataMovement (0.07 sec)

  1. cmd/erasure-server-pool-decom.go

    		res, err := z.NewMultipartUpload(ctx, bucket, objInfo.Name, ObjectOptions{
    			VersionID:    objInfo.VersionID,
    			UserDefined:  objInfo.UserDefined,
    			NoAuditLog:   true,
    			SrcPoolIdx:   idx,
    			DataMovement: true,
    		})
    		if err != nil {
    			return fmt.Errorf("decommissionObject: NewMultipartUpload() %w", err)
    		}
    		defer z.AbortMultipartUpload(ctx, bucket, objInfo.Name, res.UploadID, ObjectOptions{NoAuditLog: true})
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool-rebalance.go

    							Versioned:         true,
    							VersionID:         versionID,
    							MTime:             version.ModTime,
    							DeleteReplication: version.ReplicationState,
    							SrcPoolIdx:        poolIdx,
    							DataMovement:      true,
    							DeleteMarker:      true, // make sure we create a delete marker
    							SkipRebalancing:   true, // make sure we skip the decommissioned pool
    							NoAuditLog:        true,
    						})
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  3. cmd/erasure-server-pool.go

    		return pinfo.ObjInfo, nil
    	}
    
    	// Datamovement must never be allowed on the same pool.
    	if opts.DataMovement && opts.SrcPoolIdx == pinfo.Index {
    		return pinfo.ObjInfo, DataMovementOverwriteErr{
    			Bucket:    bucket,
    			Object:    object,
    			VersionID: opts.VersionID,
    			Err:       errDataMovementSrcDstPoolSame,
    		}
    	}
    
    	if opts.DataMovement {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
  4. cmd/object-api-interface.go

    	SkipRebalancing bool
    
    	SrcPoolIdx int // set by PutObject/CompleteMultipart operations due to rebalance; used to prevent rebalance src, dst pools to be the same
    
    	DataMovement bool // indicates an going decommisionning or rebalacing
    
    	PrefixEnabledFn func(prefix string) bool // function which returns true if versioning is enabled on prefix
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  5. cmd/erasure-multipart.go

    			fi.Metadata[ReservedMetadataPrefix+"actual-size"] = v
    		}
    	} else {
    		fi.Metadata[ReservedMetadataPrefix+"actual-size"] = strconv.FormatInt(objectActualSize, 10)
    	}
    
    	if opts.DataMovement {
    		fi.SetDataMov()
    	}
    
    	// Update all erasure metadata, make sure to not modify fields like
    	// checksum which are different on each disks.
    	for index := range partsMetadata {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 44.7K bytes
    - Viewed (0)
  6. cmd/erasure-object.go

    		partsMetadata[index].Metadata = userDefined
    		partsMetadata[index].Size = n
    		partsMetadata[index].ModTime = modTime
    		if len(inlineBuffers) > 0 {
    			partsMetadata[index].SetInlineData()
    		}
    		if opts.DataMovement {
    			partsMetadata[index].SetDataMov()
    		}
    	}
    
    	if !opts.NoLock {
    		lk := er.NewNSLock(bucket, object)
    		lkctx, err := lk.GetLock(ctx, globalOperationTimeout)
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
Back to top