Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for hasReplicationRules (0.12 sec)

  1. cmd/bucket-handlers.go

    	getObjectInfoFn := objectAPI.GetObjectInfo
    
    	var (
    		hasLockEnabled bool
    		dsc            ReplicateDecision
    		goi            ObjectInfo
    		gerr           error
    	)
    	replicateDeletes := hasReplicationRules(ctx, bucket, deleteObjectsReq.Objects)
    	if rcfg, _ := globalBucketObjectLockSys.Get(bucket); rcfg.LockEnabled {
    		hasLockEnabled = true
    	}
    
    	type deleteResult struct {
    		delInfo DeletedObject
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 12:24:04 UTC 2024
    - 63.4K bytes
    - Viewed (0)
  2. cmd/bucket-replication.go

    	xhttp.AmzObjectLockLegalHold,
    	xhttp.AmzTagCount,
    	xhttp.AmzServerSideEncryption,
    }
    
    // returns true if any of the objects being deleted qualifies for replication.
    func hasReplicationRules(ctx context.Context, bucket string, objects []ObjectToDelete) bool {
    	c, err := getReplicationConfig(ctx, bucket)
    	if err != nil || c == nil {
    		replLogOnceIf(ctx, err, bucket)
    		return false
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
Back to top