Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for newReplicateTargetDecision (0.23 sec)

  1. cmd/bucket-replication_test.go

    			},
    			rcfg: replicationConfig{remotes: &madmin.BucketTargets{Targets: []madmin.BucketTarget{{
    				Arn: "arn1",
    			}}}},
    			dsc:          ReplicateDecision{targetsMap: map[string]replicateTargetDecision{"arn1": newReplicateTargetDecision("arn1", true, false)}},
    			expectedSync: true,
    		},
    
    		{ // 2. replication status Failed
    			name: "existing object replication on object in Failed replication status",
    			info: ObjectInfo{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Sep 16 09:28:06 UTC 2023
    - 12.2K bytes
    - Viewed (0)
  2. cmd/bucket-replication-utils_test.go

    		expErr: nil,
    		expDsc: ReplicateDecision{
    			targetsMap: map[string]replicateTargetDecision{
    				"arn:minio:replication::id:bucket":  newReplicateTargetDecision("arn:minio:replication::id:bucket", true, false),
    				"arn:minio:replication::id2:bucket": newReplicateTargetDecision("arn:minio:replication::id2:bucket", false, true),
    			},
    		},
    	},
    	{ // 4.
    		name:   "invalid format replicate decision for one target",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 08 20:27:40 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  3. cmd/bucket-replication.go

    				dsc.Set(newReplicateTargetDecision(tgtArn, replicate, sync))
    			}
    			continue
    		}
    		tgt := globalBucketTargetSys.GetRemoteTargetClient(bucket, tgtArn)
    		// the target online status should not be used here while deciding
    		// whether to replicate deletes as the target could be temporarily down
    		tgtDsc := newReplicateTargetDecision(tgtArn, false, false)
    		if tgt != 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)
  4. cmd/bucket-replication-utils.go

    	ID          string
    }
    
    func (t *replicateTargetDecision) String() string {
    	return fmt.Sprintf("%t;%t;%s;%s", t.Replicate, t.Synchronous, t.Arn, t.ID)
    }
    
    func newReplicateTargetDecision(arn string, replicate bool, sync bool) replicateTargetDecision {
    	d := replicateTargetDecision{
    		Replicate:   replicate,
    		Synchronous: sync,
    		Arn:         arn,
    	}
    	return d
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 26.3K bytes
    - Viewed (0)
Back to top