Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for ResyncReplicationType (0.09 sec)

  1. internal/bucket/replication/replication.go

    // Types of replication
    const (
    	UnsetReplicationType Type = 0 + iota
    	ObjectReplicationType
    	DeleteReplicationType
    	MetadataReplicationType
    	HealReplicationType
    	ExistingObjectReplicationType
    	ResyncReplicationType
    	AllReplicationType
    )
    
    // Valid returns true if replication type is set
    func (t Type) Valid() bool {
    	return t > 0
    }
    
    // IsDataReplication returns true if content being replicated
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. cmd/bucket-replication-handlers.go

    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrReplicationNoExistingObjects), r.URL)
    		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 Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  3. cmd/bucket-replication.go

    		return
    	}
    	rcfg := replicationConfig{
    		Config:  cfg,
    		remotes: tgts,
    	}
    	tgtArns := cfg.FilterTargetArns(
    		replication.ObjectOpts{
    			OpType:    replication.ResyncReplicationType,
    			TargetArn: opts.arn,
    		})
    	if len(tgtArns) != 1 {
    		replLogIf(ctx, fmt.Errorf("replication resync failed for %s - arn specified %s is missing in the replication config", opts.bucket, opts.arn))
    		return
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 118.2K bytes
    - Viewed (0)
Back to top