Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for Replica (0.17 sec)

  1. internal/bucket/replication/datatypes.go

    	// CompletedLegacy was called "COMPLETE" incorrectly.
    	CompletedLegacy StatusType = "COMPLETE"
    
    	// Failed - replication failed.
    	Failed StatusType = "FAILED"
    
    	// Replica - this is a replica.
    	Replica StatusType = "REPLICA"
    )
    
    // String returns string representation of status
    func (s StatusType) String() string {
    	return string(s)
    }
    
    // Empty returns true if this status is not set
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 08 19:08:18 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  2. docs/bucket/replication/setup_3site_replication.sh

    	echo "verified sitea-> COMPLETED, siteb-> REPLICA"
    fi
    
    if diff -pruN <(./mc stat --json sitea/bucket/hosts | jq .) <(./mc stat --json sitec/bucket/hosts | jq .) | grep -q 'COMPLETED\|REPLICA'; then
    	echo "verified sitea-> COMPLETED, sitec-> REPLICA"
    fi
    
    echo "Verifying the metadata difference between source and target"
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  3. cmd/object-handlers.go

    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrReplicationPermissionCheckError), r.URL)
    		return
    	}
    
    	replica := r.Header.Get(xhttp.AmzBucketReplicationStatus) == replication.Replica.String()
    	if replica {
    		if s3Error := checkRequestAuthType(ctx, r, policy.ReplicateDeleteAction, bucket, object); s3Error != ErrNone {
    			writeErrorResponse(ctx, w, errorCodes.ToAPIErr(s3Error), r.URL)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  4. cmd/bucket-replication-utils_test.go

    		},
    		expStatus: replication.Failed,
    	},
    	{ // 5. replication status for replica version
    		name:      "replication status for replica version",
    		rs:        ReplicationState{ReplicationStatusInternal: string(replication.Replica)},
    		expStatus: replication.Replica,
    	},
    }
    
    func TestCompositeReplicationStatus(t *testing.T) {
    	for i, test := range replicationStateTest {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Aug 08 20:27:40 GMT 2023
    - 9.3K bytes
    - Viewed (0)
  5. cmd/data-usage-utils.go

    // - replicated size for all objects sent to this target
    // - replica size for all objects received from this target
    // - replication pending size for all objects pending replication to this target
    // - replication failed size for all objects failed replication to this target
    // - replica pending count
    // - replica failed count
    type BucketTargetUsageInfo struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  6. cmd/bucket-object-lock.go

    	}
    
    	opts, err := getOpts(ctx, rq, bucket, object)
    	if err != nil {
    		return mode, retainDate, legalHold, toAPIErrorCode(ctx, err)
    	}
    
    	replica := rq.Header.Get(xhttp.AmzBucketReplicationStatus) == replication.Replica.String()
    
    	if opts.VersionID != "" && !replica {
    		if objInfo, err := getObjectInfoFn(ctx, bucket, object, opts); err == nil {
    			r := objectlock.GetObjectRetentionMeta(objInfo.UserDefined)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  7. cmd/site-replication-metrics.go

    	}
    	for k, v := range o.ErrCounts {
    		n.ErrCounts[k] += v
    	}
    	return n
    }
    
    // SRStats has replication stats at site level
    type SRStats struct {
    	// Total Replica size in bytes
    	ReplicaSize int64 `json:"replicaSize"`
    	// Total Replica received
    	ReplicaCount int64                `json:"replicaCount"`
    	M            map[string]*SRStatus `json:"srStatusMap"`
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  8. cmd/object-multipart-handlers.go

    			return
    		}
    
    		metadata[xhttp.AmzObjectTagging] = objTags
    	}
    	if r.Header.Get(xhttp.AmzBucketReplicationStatus) == replication.Replica.String() {
    		metadata[ReservedMetadataPrefixLower+ReplicaStatus] = replication.Replica.String()
    		metadata[ReservedMetadataPrefixLower+ReplicaTimestamp] = UTCNow().Format(time.RFC3339Nano)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 39K bytes
    - Viewed (0)
  9. cmd/bucket-replication-stats.go

    func (r *ReplicationStats) Delete(bucket string) {
    	if r == nil {
    		return
    	}
    
    	r.Lock()
    	defer r.Unlock()
    	delete(r.Cache, bucket)
    }
    
    // UpdateReplicaStat updates in-memory replica statistics with new values.
    func (r *ReplicationStats) UpdateReplicaStat(bucket string, n int64) {
    	if r == nil {
    		return
    	}
    
    	r.Lock()
    	defer r.Unlock()
    	bs, ok := r.Cache[bucket]
    	if !ok {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  10. docs/site-replication/README.md

    # Automatic Site Replication
    
    This feature allows multiple independent MinIO sites (or clusters) that are using the same external IDentity Provider (IDP) to be configured as replicas. In this situation the set of replica sites are referred to as peer sites or just sites. When site-replication is enabled on a set of sites, the following changes are replicated to all other sites:
    
    - Creation and deletion of buckets and objects
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 26 21:30:28 GMT 2024
    - 3.4K bytes
    - Viewed (0)
Back to top