Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for VersionSuspended (0.17 sec)

  1. cmd/erasure-object.go

    			er.addPartial(bucket, object, opts.VersionID)
    			break
    		}
    	}()
    
    	if markDelete && (opts.Versioned || opts.VersionSuspended) {
    		if !deleteMarker {
    			// versioning suspended means we add `null` version as
    			// delete marker, if its not decided already.
    			deleteMarker = opts.VersionSuspended && opts.VersionID == ""
    		}
    		fi := FileInfo{
    			Name:             object,
    			Deleted:          deleteMarker,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  2. cmd/batch-rotate.go

    	defer lock.Unlock(lkctx)
    
    	opts := ObjectOptions{
    		VersionID:        objInfo.VersionID,
    		Versioned:        versioned,
    		VersionSuspended: versionSuspended,
    		NoLock:           true,
    	}
    	obj, err := api.GetObjectInfo(ctx, r.Bucket, objInfo.Name, opts)
    	if err != nil {
    		return err
    	}
    	oi := obj.Clone()
    	var (
    		newKeyID      string
    		newKeyContext kms.Context
    	)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  3. cmd/bucket-lifecycle.go

    				VersionID: vid,
    			}
    		}
    		if !versioned && !versionSuspended {
    			return opts, InvalidArgument{
    				Bucket: bucket,
    				Object: object,
    				Err:    fmt.Errorf("version-id specified %s but versioning is not enabled on %s", opts.VersionID, bucket),
    			}
    		}
    	}
    	return ObjectOptions{
    		Versioned:        versioned,
    		VersionSuspended: versionSuspended,
    		VersionID:        vid,
    	}, 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)
  4. cmd/object-handlers-common.go

    		} else {
    			remaining = nil
    		}
    		vc, _ := globalBucketVersioningSys.Get(bucket)
    		deletedObjs, errs := o.DeleteObjects(ctx, bucket, toDel, ObjectOptions{
    			PrefixEnabledFn:  vc.PrefixEnabled,
    			VersionSuspended: vc.Suspended(),
    		})
    
    		for i, dobj := range deletedObjs {
    			oi := ObjectInfo{
    				Bucket:    bucket,
    				Name:      dobj.ObjectName,
    				VersionID: dobj.VersionID,
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 06:33:53 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  5. cmd/batch-handlers.go

    			return nil
    		}
    	}
    
    	versioned := globalBucketVersioningSys.PrefixEnabled(srcBucket, srcObject)
    	versionSuspended := globalBucketVersioningSys.PrefixSuspended(srcBucket, srcObject)
    
    	opts := ObjectOptions{
    		VersionID:        srcObjInfo.VersionID,
    		Versioned:        versioned,
    		VersionSuspended: versionSuspended,
    	}
    	rd, err := api.GetObjectNInfo(ctx, srcBucket, srcObject, nil, http.Header{}, opts)
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  6. cmd/bucket-handlers.go

    			VersionID:        object.VersionID,
    			Versioned:        vc.PrefixEnabled(object.ObjectName),
    			VersionSuspended: vc.Suspended(),
    		}
    
    		if replicateDeletes || object.VersionID != "" && hasLockEnabled || !globalTierConfigMgr.Empty() {
    			if !globalTierConfigMgr.Empty() && object.VersionID == "" && opts.VersionSuspended {
    				opts.VersionID = nullVersionID
    			}
    			goi, gerr = getObjectInfoFn(ctx, bucket, object.ObjectName, opts)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
  7. cmd/bucket-replication.go

    	}
    
    	versioned := globalBucketVersioningSys.PrefixEnabled(bucket, object)
    	versionSuspended := globalBucketVersioningSys.PrefixSuspended(bucket, object)
    
    	gr, err := objectAPI.GetObjectNInfo(ctx, bucket, object, nil, http.Header{}, ObjectOptions{
    		VersionID:          ri.VersionID,
    		Versioned:          versioned,
    		VersionSuspended:   versionSuspended,
    		ReplicationRequest: true,
    	})
    	if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top