Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for hasReplicationUsage (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. cmd/metrics-v3-bucket-replication.go

    	bucketReplStats := globalReplicationStats.Load().getAllLatest(dataUsageInfo.BucketsUsage)
    	for _, bucket := range buckets {
    		if s, ok := bucketReplStats[bucket]; ok {
    			stats := s.ReplicationStats
    			if stats.hasReplicationUsage() {
    				for arn, stat := range stats.Stats {
    					labels := []string{bucketL, bucket, targetArnL, arn}
    					m.Set(bucketReplLastHrFailedBytes, float64(stat.Failed.LastHour.Bytes), labels...)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Jun 04 20:45:31 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  2. cmd/bucket-stats.go

    	PendingCount int64 `json:"pendingReplicationCount"`
    	// Total number of failed operations including metadata updates
    	FailedCount int64 `json:"failedReplicationCount"`
    }
    
    func (bs *BucketReplicationStat) hasReplicationUsage() bool {
    	return bs.FailStats.SinceUptime.Count > 0 ||
    		bs.ReplicatedSize > 0 ||
    		bs.ReplicaSize > 0
    }
    
    func (bs *BucketReplicationStat) updateXferRate(sz int64, duration time.Duration) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 13.5K bytes
    - Click Count (0)
Back to Top