Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for PrefixEnabled (0.16 sec)

  1. cmd/object-api-options.go

    	if err != nil {
    		return opts, err
    	}
    	opts.CheckDMReplicationReady = replReadyCheck
    
    	opts.Tagging = r.Header.Get(xhttp.AmzTagDirective) == accessDirective
    	opts.Versioned = globalBucketVersioningSys.PrefixEnabled(bucket, object)
    	opts.VersionSuspended = globalBucketVersioningSys.PrefixSuspended(bucket, object)
    	return opts, nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 21 21:13:59 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  2. cmd/bucket-lifecycle.go

    	traceFn := globalLifecycleSys.trace(*oi)
    	opts := ObjectOptions{
    		Versioned:  globalBucketVersioningSys.PrefixEnabled(oi.Bucket, oi.Name),
    		Expiration: ExpirationOptions{Expire: true},
    	}
    	if lcEvent.Action.DeleteVersioned() {
    		opts.VersionID = oi.VersionID
    	}
    	tags := newLifecycleAuditEvent(src, lcEvent).Tags()
    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/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)
  4. cmd/batch-rotate.go

    	}
    	if sseKMS && r.Encryption.Type == sses3 { // previously encrypted with sse-kms, now sse-s3 disallowed
    		return errInvalidEncryptionParameters
    	}
    	versioned := globalBucketVersioningSys.PrefixEnabled(srcBucket, srcObject)
    	versionSuspended := globalBucketVersioningSys.PrefixSuspended(srcBucket, srcObject)
    
    	lock := api.NewNSLock(r.Bucket, objInfo.Name)
    	lkctx, err := lock.GetLock(ctx, globalOperationTimeout)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  5. cmd/object-multipart-handlers.go

    	gr, err := getObjectNInfo(ctx, srcBucket, srcObject, rs, r.Header, getOpts)
    	if err != nil {
    		if isErrPreconditionFailed(err) {
    			return
    		}
    		if globalBucketVersioningSys.PrefixEnabled(srcBucket, srcObject) && gr != nil {
    			// Versioning enabled quite possibly object is deleted might be delete-marker
    			// if present set the headers, no idea why AWS S3 sets these headers.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Aug 31 18:25:48 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  6. cmd/data-scanner.go

    		size = 0
    	case lifecycle.DeleteAction:
    		// On a non-versioned bucket, DeleteObject removes the only version permanently.
    		if !vc.PrefixEnabled(oi.Name) {
    			size = 0
    		}
    	}
    
    	applyLifecycleAction(lcEvt, lcEventSrc_Scanner, oi)
    	return lcEvt.Action, size
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  7. 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)
  8. 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 {
    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