Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for ResetID (0.09 sec)

  1. cmd/bucket-replication_test.go

    			rcfg: replicationConfig{
    				remotes: &madmin.BucketTargets{Targets: []madmin.BucketTarget{{
    					Arn:             "arn1",
    					ResetID:         "xyz",
    					ResetBeforeDate: UTCNow(),
    				}}},
    			},
    		},
    		{ // 6. existing object replication enabled, versioning enabled, replication status Failed & reset ID present
    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-handlers.go

    	target := globalBucketTargetSys.GetRemoteBucketTargetByArn(ctx, bucket, tgtArns[0])
    	target.ResetBeforeDate = UTCNow().AddDate(0, 0, -1*int(days/24))
    	target.ResetID = resetID
    	rinfo.Targets = append(rinfo.Targets, ResyncTarget{Arn: tgtArns[0], ResetID: target.ResetID})
    	if err = globalBucketTargetSys.SetTarget(ctx, bucket, &target, true); err != nil {
    		switch err.(type) {
    		case RemoteTargetConnectionErr:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  3. cmd/bucket-replication-utils_gen.go

    		case "Arn":
    			z.Arn, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "Arn")
    				return
    			}
    		case "ResetID":
    			z.ResetID, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "ResetID")
    				return
    			}
    		case "StartTime":
    			z.StartTime, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "StartTime")
    				return
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 61.1K bytes
    - Viewed (0)
  4. cmd/bucket-targets.go

    		replicateSync:       tcfg.ReplicationSync,
    		Bucket:              tcfg.TargetBucket,
    		StorageClass:        tcfg.StorageClass,
    		disableProxy:        tcfg.DisableProxy,
    		ARN:                 tcfg.Arn,
    		ResetID:             tcfg.ResetID,
    		Endpoint:            tcfg.Endpoint,
    		Secure:              tcfg.Secure,
    	}
    	return tc, nil
    }
    
    // getRemoteARN gets existing ARN for an endpoint or generates a new one.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  5. cmd/bucket-replication-utils.go

    }
    
    // ResyncTarget is a struct representing the Target reset ID where target is identified by its Arn
    type ResyncTarget struct {
    	Arn       string    `json:"arn"`
    	ResetID   string    `json:"resetid"`
    	StartTime time.Time `json:"startTime"`
    	EndTime   time.Time `json:"endTime"`
    	// Status of resync operation
    	ResyncStatus string `json:"resyncStatus,omitempty"`
    	// Completed size in bytes
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  6. cmd/bucket-replication.go

    	rd = ResyncTargetDecision{
    		ResetID:         resetID,
    		ResetBeforeDate: resetBeforeDate,
    	}
    	rs, ok := oi.UserDefined[targetResetHeader(arn)]
    	if !ok {
    		rs, ok = oi.UserDefined[xhttp.MinIOReplicationResetStatus] // for backward compatibility
    	}
    	if !ok { // existing object replication is enabled and object version is unreplicated so far.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  7. docs/bucket/replication/DESIGN.md

    site is fully lost and objects previously replicated need to be re-synced, the `mc replicate resync start` command with optional flag of `--older-than` needs to be used to trigger re-syncing of previously replicated objects. This command generates a ResetID which is a unique UUID saved to the remote target config along with the applicable date(defaults to time of initiating the reset). All objects created prior to this date are eligible for re-replication if existing object replication is enabled for...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 14.7K bytes
    - Viewed (0)
  8. cmd/object-api-datatypes_gen.go

    			z.RetryCount, bts, err = msgp.ReadUint32Bytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "RetryCount")
    				return
    			}
    		case "ResetID":
    			z.ResetID, bts, err = msgp.ReadStringBytes(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "ResetID")
    				return
    			}
    		case "Dsc":
    			bts, err = z.Dsc.UnmarshalMsg(bts)
    			if err != nil {
    				err = msgp.WrapError(err, "Dsc")
    				return
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 70.1K bytes
    - Viewed (0)
  9. cmd/object-api-datatypes.go

    	ReplicationState           ReplicationState
    	DeleteMarker               bool
    
    	OpType               replication.Type
    	EventType            string
    	RetryCount           uint32
    	ResetID              string
    	Dsc                  ReplicateDecision
    	ExistingObjResync    ResyncDecision
    	TargetArn            string
    	TargetStatuses       map[string]replication.StatusType
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  10. cmd/site-replication.go

    	// clear the remote target resetID set while initiating resync to stop replication
    	for _, t := range targets {
    		if t.ResetID == rs.ResyncID {
    			// get tgt with credentials
    			tgt := globalBucketTargetSys.GetRemoteBucketTargetByArn(ctx, t.SourceBucket, t.Arn)
    			tgt.ResetID = ""
    			bucket := t.SourceBucket
    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