Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 669 for replica (0.09 sec)

  1. android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

        if (replica.containsKey(newValue)) {
          replica.get(newValue).incrementAndGet();
        } else {
          replica.put(newValue, new AtomicInteger(1));
        }
      }
    
      private static void removeMinFromReplica(
          SortedMap<Integer, AtomicInteger> replica, int minValue) {
        Integer replicatedMinValue = replica.firstKey();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 36.1K bytes
    - Viewed (0)
  2. 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 {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  3. internal/bucket/replication/rule.go

    	}
    	return r.ExistingObjectReplication.Validate()
    }
    
    // MetadataReplicate  returns true if object is not a replica or in the case of replicas,
    // replica modification sync is enabled.
    func (r Rule) MetadataReplicate(obj ObjectOpts) bool {
    	if !obj.Replica {
    		return true
    	}
    	return obj.Replica && r.SourceSelectionCriteria.ReplicaModifications.Status == Enabled
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  4. 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 {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Mar 10 09:15:15 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. 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"`
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.2K 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.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 26.1K bytes
    - Viewed (0)
  7. 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 {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 32.4K bytes
    - Viewed (0)
  8. internal/bucket/replication/replication.go

    func (c Config) GetDestination() Destination {
    	if len(c.Rules) > 0 {
    		return c.Rules[0].Destination
    	}
    	return Destination{}
    }
    
    // Replicate returns true if the object should be replicated.
    func (c Config) Replicate(obj ObjectOpts) bool {
    	for _, rule := range c.FilterActionableRules(obj) {
    		if rule.Status == Disabled {
    			continue
    		}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  9. 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"`
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  10. docs/bucket/replication/setup_replication.sh

    mc admin policy attach dest replpolicy --user=repluser
    
    # configure replication config to remote bucket at http://localhost:9000
    mc replicate add source/bucket --priority 1 --remote-bucket http://repluser:repluser123@localhost:9000/bucket \
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri May 26 05:07:25 UTC 2023
    - 2.6K bytes
    - Viewed (0)
Back to top