Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Replica (0.2 sec)

  1. 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)
  2. 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)
  3. cmd/erasure-metadata.go

    	objInfo.ReplicationStatus = fi.ReplicationStatus()
    	if objInfo.ReplicationStatus.Empty() { // overlay x-amx-replication-status if present for replicas
    		if st, ok := fi.Metadata[xhttp.AmzBucketReplicationStatus]; ok && st == string(replication.Replica) {
    			objInfo.ReplicationStatus = replication.StatusType(st)
    		}
    	}
    	objInfo.VersionPurgeStatus = fi.VersionPurgeStatus()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  4. internal/bucket/replication/replication_test.go

    		//  using config 4 - with replica modification sync disabled.
    		{ObjectOpts{Name: "xy/c5test", UserTags: "k1=v1", Replica: true}, cfgs[4], false}, // 39. replica syncing disabled, this object is a replica
    		{ObjectOpts{Name: "xa/c5test", UserTags: "k1=v1", Replica: false}, cfgs[4], true}, // 40. replica syncing disabled, this object is NOT a replica
    	}
    
    	for _, testCase := range testCases {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 32.5K bytes
    - Viewed (0)
  5. 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)
  6. cmd/bucket-replication-utils.go

    		case replication.Pending, replication.Completed, replication.Failed, replication.Replica: // for backward compatibility
    			return replication.StatusType(rs.ReplicationStatusInternal)
    		default:
    			replStatus := getCompositeReplicationStatus(rs.Targets)
    			// return REPLICA status if replica received timestamp is later than replication timestamp
    			// provided object replication completed for all targets.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 26.2K bytes
    - Viewed (0)
  7. cmd/bucket-stats.go

    	ReplicatedSize int64 `json:"completedReplicationSize"`
    	// Total Replica size in bytes
    	ReplicaSize int64 `json:"replicaSize"`
    	// Total failed operations including metadata updates for various time frames
    	Failed madmin.TimedErrStats `json:"failed"`
    
    	// Total number of completed operations
    	ReplicatedCount int64 `json:"replicationCount"`
    	// Total number of replica received
    	ReplicaCount int64 `json:"replicaCount"`
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 06 06:00:45 GMT 2024
    - 13.1K bytes
    - Viewed (0)
  8. cmd/object-api-interface.go

    	Deleted bool // true only when site replication is enabled
    	Cached  bool // true only when we are requesting a cached response instead of hitting the disk for example ListBuckets() call.
    }
    
    // SetReplicaStatus sets replica status and timestamp for delete operations in ObjectOptions
    func (o *ObjectOptions) SetReplicaStatus(st replication.StatusType) {
    	o.DeleteReplication.ReplicaStatus = st
    	o.DeleteReplication.ReplicaTimeStamp = UTCNow()
    }
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 17K bytes
    - Viewed (0)
  9. cmd/data-usage-cache.go

    				}
    			}
    			due.Compacted = len(due.Children) == 0 && k != d.Info.Name
    
    			d.Cache[k] = due
    		}
    
    		// Populate compacted value and remove unneeded replica stats.
    		for k, e := range d.Cache {
    			if e.ReplicationStats != nil && len(e.ReplicationStats.Targets) == 0 {
    				e.ReplicationStats = nil
    			}
    			d.Cache[k] = e
    		}
    		return nil
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 41.4K bytes
    - Viewed (1)
  10. internal/http/headers.go

    	// Header indicates if its a GET/HEAD proxy request for active-active replication
    	MinIOSourceProxyRequest = "X-Minio-Source-Proxy-Request"
    	// Header indicates that this request is a replication request to create a REPLICA
    	MinIOSourceReplicationRequest = "X-Minio-Source-Replication-Request"
    	// Header checks replication permissions without actually completing replication
    	MinIOSourceReplicationCheck = "X-Minio-Source-Replication-Check"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 10.4K bytes
    - Viewed (1)
Back to top