Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for replicateDeletes (0.09 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 {
    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. docs/bucket/replication/setup_replication.sh

    # create a replication policy for repluser
    # Remove "s3:GetBucketObjectLockConfiguration" if object locking is not enabled, i.e. bucket was not created with `mc mb --with-lock` option
    # Remove "s3:ReplicateDelete" if delete marker replication is not required
    cat >replpolicy.json <<EOF
    {
     "Version": "2012-10-17",
     "Statement": [
      {
       "Effect": "Allow",
       "Action": [
        "s3:GetReplicationConfiguration",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 26 05:07:25 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  3. cmd/site-replication.go

    			Priority: fmt.Sprintf("%d", getPriorityHelper(replicationConfig)),
    
    			Op:         replication.AddOption,
    			RuleStatus: "enable",
    			DestBucket: targetARN,
    			// Replicate everything!
    			ReplicateDeletes:        "enable",
    			ReplicateDeleteMarkers:  "enable",
    			ReplicaSync:             "enable",
    			ExistingObjectReplicate: "enable",
    		}
    
    		switch {
    		case hasRule:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
  4. docs/bucket/replication/README.md

        "s3:PutObject",
        "s3:DeleteObject",
        "s3:ReplicateObject",
        "s3:ReplicateDelete"
       ],
       "Resource": [
        "arn:aws:s3:::destbucket/*"
       ]
      }
     ]
    }
    ```
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 24 23:46:33 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  5. cmd/bucket-replication-handlers.go

    			},
    		})
    		if err != nil && !isReplicationPermissionCheck(ErrorRespToObjectError(err, bucket, obj)) {
    			writeErrorResponse(ctx, w, errorCodes.ToAPIErrWithErr(ErrReplicationValidationError, fmt.Errorf("s3:ReplicateDelete permissions missing for replication user: %w", err)), r.URL)
    			return
    		}
    		// fake a versioned delete - to ensure deny policies are not in place
    		err = c.RemoveObject(ctx, clnt.Bucket, obj, minio.RemoveObjectOptions{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  6. cmd/bucket-replication.go

    // deleted from the source when the VersionPurgeStatus changes to "Complete", i.e after replication succeeds
    // on target.
    func replicateDelete(ctx context.Context, dobj DeletedObjectReplicationInfo, objectAPI ObjectLayer) {
    	var replicationStatus replication.StatusType
    	bucket := dobj.Bucket
    	versionID := dobj.DeleteMarkerVersionID
    	if versionID == "" {
    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