Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for VersionSuspended (0.19 sec)

  1. cmd/object-handlers.go

    	srcOpts.VersionID = vid
    
    	// convert copy src encryption options for GET calls
    	getOpts := ObjectOptions{
    		VersionID:          srcOpts.VersionID,
    		Versioned:          srcOpts.Versioned,
    		VersionSuspended:   srcOpts.VersionSuspended,
    		ReplicationRequest: r.Header.Get(xhttp.MinIOSourceReplicationRequest) == "true",
    	}
    	getSSE := encrypt.SSE(srcOpts.ServerSideEncryption)
    	if getSSE != srcOpts.ServerSideEncryption {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 05 05:16:15 UTC 2024
    - 117.4K bytes
    - Viewed (0)
  2. cmd/object-api-interface.go

    	WalkVersionsSortDesc
    )
    
    // ObjectOptions represents object options for ObjectLayer object operations
    type ObjectOptions struct {
    	ServerSideEncryption encrypt.ServerSide
    	VersionSuspended     bool      // indicates if the bucket was previously versioned but is currently suspended.
    	Versioned            bool      // indicates if the bucket is versioned
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  3. cmd/erasure-multipart.go

    			partsMetadata[index].Metadata = fi.Metadata
    			partsMetadata[index].Parts = fi.Parts
    			partsMetadata[index].Checksum = fi.Checksum
    			partsMetadata[index].Versioned = opts.Versioned || opts.VersionSuspended
    		}
    	}
    
    	paths := make([]string, 0, len(currentFI.Parts))
    	// Remove parts that weren't present in CompleteMultipartUpload request.
    	for _, curpart := range currentFI.Parts {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 44.7K bytes
    - Viewed (0)
  4. cmd/bucket-replication-utils.go

    			ObjectV: ObjectV{
    				ObjectName: oi.Name,
    				VersionID:  oi.VersionID,
    			},
    		}, oi, ObjectOptions{
    			Versioned:        globalBucketVersioningSys.PrefixEnabled(oi.Bucket, oi.Name),
    			VersionSuspended: globalBucketVersioningSys.PrefixSuspended(oi.Bucket, oi.Name),
    		}, nil)
    	} else {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  5. cmd/batch-expire.go

    func (r *BatchJobExpire) Expire(ctx context.Context, api ObjectLayer, vc *versioning.Versioning, objsToDel []ObjectToDelete) []error {
    	opts := ObjectOptions{
    		PrefixEnabledFn:  vc.PrefixEnabled,
    		VersionSuspended: vc.Suspended(),
    	}
    
    	allErrs := make([]error, 0, len(objsToDel))
    
    	for {
    		count := len(objsToDel)
    		if count == 0 {
    			break
    		}
    		if count > maxDeleteList {
    			count = maxDeleteList
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  6. cmd/object-api-listobjects_test.go

    				int64(len(object.content)), hex.EncodeToString(md5Bytes[:]), ""), ObjectOptions{
    				Versioned:        globalBucketVersioningSys.PrefixEnabled(object.parentBucket, object.name),
    				VersionSuspended: globalBucketVersioningSys.PrefixSuspended(object.parentBucket, object.name),
    				UserDefined:      object.meta,
    			})
    		if err != nil {
    			t.Fatalf("%s : %s", instanceType, err)
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed May 01 11:07:40 UTC 2024
    - 73.1K bytes
    - Viewed (0)
  7. cmd/object-multipart-handlers.go

    		}
    	}
    
    	opts, err := completeMultipartOpts(ctx, r, bucket, object)
    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    	opts.Versioned = versioned
    	opts.VersionSuspended = suspended
    
    	// First, we compute the ETag of the multipart object.
    	// The ETag of a multi-part object is always:
    	//   ETag := MD5(ETag_p1, ETag_p2, ...)+"-N"   (N being the number of parts)
    	//
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Aug 31 18:25:48 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  8. cmd/data-scanner.go

    	}
    
    	if lcEvent.Action.DeleteVersioned() {
    		opts.VersionID = obj.VersionID
    	}
    
    	opts.Versioned = globalBucketVersioningSys.PrefixEnabled(obj.Bucket, obj.Name)
    	opts.VersionSuspended = globalBucketVersioningSys.PrefixSuspended(obj.Bucket, obj.Name)
    
    	if lcEvent.Action.DeleteAll() {
    		opts.DeletePrefix = true
    		// use prefix delete on exact object (this is an optimization to avoid fan-out calls)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  9. cmd/erasure-server-pool.go

    		return objInfo, err
    	}
    
    	// Delete concurrently in all server pools with read quorum error for unversioned objects.
    	if len(noReadQuorumPools) > 0 && !opts.Versioned && !opts.VersionSuspended {
    		return z.deleteObjectFromAllPools(ctx, bucket, object, opts, noReadQuorumPools)
    	}
    
    	for _, pool := range z.serverPools {
    		objInfo, err := pool.DeleteObject(ctx, bucket, object, opts)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
Back to top