Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. cmd/bucket-targets.go

    			return tgt.Arn, true
    		}
    	}
    	if !target.Type.IsValid() {
    		return
    	}
    	return generateARN(target, deplID), false
    }
    
    // getRemoteARNForPeer returns the remote target for a peer site in site replication
    func (sys *BucketTargetSys) getRemoteARNForPeer(bucket string, peer madmin.PeerInfo) string {
    	sys.RLock()
    	defer sys.RUnlock()
    	tgts := sys.targetsMap[bucket]
    	for _, target := range tgts {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  2. cmd/site-replication.go

    				Bucket:    bucket,
    				Status:    ResyncFailed.String(),
    			})
    			continue
    		}
    		// mark remote target for this deployment with the new reset id
    		tgtArn := globalBucketTargetSys.getRemoteARNForPeer(bucket, peer)
    		if tgtArn == "" {
    			res.Buckets = append(res.Buckets, madmin.ResyncBucketStatus{
    				ErrDetail: fmt.Sprintf("no valid remote target found for this peer %s (%s)", peer.Name, peer.DeploymentID),
    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