Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for TargetArn (0.22 sec)

  1. internal/bucket/replication/replication.go

    		return nil
    	}
    	var rules []Rule
    	for _, rule := range c.Rules {
    		if rule.Status == Disabled {
    			continue
    		}
    
    		if obj.TargetArn != "" && rule.Destination.ARN != obj.TargetArn && c.RoleArn != obj.TargetArn {
    			continue
    		}
    		// Ignore other object level and prefix filters for resyncing target/listing bucket targets
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 28 17:44:56 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. internal/bucket/replication/destination.go

    // used prior to multi-destination
    func (d Destination) LegacyArn() bool {
    	return strings.HasPrefix(d.ARN, DestinationARNPrefix)
    }
    
    // TargetArn returns true if arn format has prefix  "arn:minio:replication:::"
    // used for multi-destination targets
    func (d Destination) TargetArn() bool {
    	return strings.HasPrefix(d.ARN, DestinationARNMinIOPrefix)
    }
    
    // MarshalXML - encodes to XML data.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. cmd/metrics-v3-bucket-replication.go

    	bucketL                                        = "bucket"
    	operationL                                     = "operation"
    	targetArnL                                     = "targetArn"
    )
    
    var (
    	bucketReplLastHrFailedBytesMD = NewGaugeMD(bucketReplLastHrFailedBytes,
    		"Total number of bytes failed at least once to replicate in the last hour on a bucket",
    		bucketL)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  4. cmd/metrics-v2.go

    							VariableLabels: map[string]string{"bucket": bucket, "targetArn": arn},
    						})
    						metrics = append(metrics, MetricV2{
    							Description:    getRepFailedOperationsLastMinuteMD(bucketMetricNamespace),
    							Value:          stat.Failed.LastMinute.Count,
    							VariableLabels: map[string]string{"bucket": bucket, "targetArn": arn},
    						})
    						metrics = append(metrics, MetricV2{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  5. cmd/bucket-replication.go

    	var wg sync.WaitGroup
    	var mu sync.Mutex
    	for _, tgtEntry := range dsc.targetsMap {
    		if !tgtEntry.Replicate {
    			continue
    		}
    		// if dobj.TargetArn is not empty string, this is a case of specific target being re-synced.
    		if dobj.TargetArn != "" && dobj.TargetArn != tgtEntry.Arn {
    			continue
    		}
    		tgtClnt := globalBucketTargetSys.GetRemoteTargetClient(bucket, tgtEntry.Arn)
    		if tgtClnt == 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)
  6. cmd/object-api-datatypes_gen.go

    			bts, err = z.ExistingObjResync.UnmarshalMsg(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "ExistingObjResync")
    				return
    			}
    		case "TargetArn":
    			z.TargetArn, bts, err = msgp.ReadStringBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "TargetArn")
    				return
    			}
    		case "TargetStatuses":
    			var zb0002 uint32
    			zb0002, bts, err = msgp.ReadMapHeaderBytes(bts)
    			if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 70.1K bytes
    - Viewed (0)
  7. cmd/object-api-datatypes.go

    	OpType               replication.Type
    	EventType            string
    	RetryCount           uint32
    	ResetID              string
    	Dsc                  ReplicateDecision
    	ExistingObjResync    ResyncDecision
    	TargetArn            string
    	TargetStatuses       map[string]replication.StatusType
    	TargetPurgeStatuses  map[string]VersionPurgeStatusType
    	ReplicationTimestamp time.Time
    	Checksum             []byte
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  8. cmd/bucket-replication-handlers.go

    		return
    	}
    
    	tgtArns := config.FilterTargetArns(
    		replication.ObjectOpts{
    			OpType:    replication.ResyncReplicationType,
    			TargetArn: arn,
    		})
    
    	if len(tgtArns) == 0 {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErrWithErr(ErrBadRequest, InvalidArgument{
    			Bucket: bucket,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  9. docs/metrics/v3.md

    | `minio_bucket_replication_latency_ms`                               | Replication latency on a bucket in milliseconds. <br><br>Type: gauge                                            | `bucket`, `operation`, `range`, `targetArn`, `server` |
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 02 22:30:11 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  10. cmd/site-replication.go

    		if targetsPtr, _ := globalBucketTargetSys.ListBucketTargets(ctx, bucket); targetsPtr != nil {
    			targets = targetsPtr.Targets
    		}
    		targetARN := ""
    		var updateTgt, updateBW bool
    		var targetToUpdate madmin.BucketTarget
    		for _, target := range targets {
    			if target.Arn == ruleARN {
    				targetARN = ruleARN
    				updateBW = peer.DefaultBandwidth.Limit != 0 && target.BandwidthLimit == 0
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
Back to top