- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for bucketReplicationStats (0.28 sec)
-
cmd/bucket-replication-stats.go
func (r *ReplicationStats) GetAll() map[string]BucketReplicationStats { if r == nil { return map[string]BucketReplicationStats{} } r.RLock() bucketReplicationStats := make(map[string]BucketReplicationStats, len(r.Cache)) for k, v := range r.Cache { bucketReplicationStats[k] = v.Clone() } r.RUnlock() for k, v := range bucketReplicationStats { v.QStat = r.qCache.getBucketStats(k)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 12:04:40 UTC 2024 - 13.6K bytes - Viewed (0) -
cmd/bucket-stats.go
} func newBucketReplicationStats() *BucketReplicationStats { return &BucketReplicationStats{ Stats: make(map[string]*BucketReplicationStat), } } // Empty returns true if there are no target stats func (brs *BucketReplicationStats) Empty() bool { return len(brs.Stats) == 0 && brs.ReplicaSize == 0 } // Clone creates a new BucketReplicationStats copy
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 12 11:39:51 UTC 2024 - 13.4K bytes - Viewed (0) -
cmd/bucket-stats_gen.go
} else { s += z.XferRateSml.Msgsize() } s += 12 + msgp.Int64Size + 11 + msgp.Int64Size + 13 + msgp.Int64Size + 12 + msgp.Int64Size return } // DecodeMsg implements msgp.Decodable func (z *BucketReplicationStats) DecodeMsg(dc *msgp.Reader) (err error) { var field []byte _ = field var zb0001 uint32 zb0001, err = dc.ReadMapHeader() if err != nil { err = msgp.WrapError(err) return }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Feb 06 06:00:45 UTC 2024 - 57.5K bytes - Viewed (0) -
cmd/metrics-v2.go
Value: float64(quota.Quota), VariableLabels: map[string]string{"bucket": bucket}, }) } if !globalSiteReplicationSys.isEnabled() { var stats BucketReplicationStats s, ok := bucketReplStats[bucket] if ok { stats = s.ReplicationStats metrics = append(metrics, MetricV2{ Description: getRepReceivedBytesMD(bucketMetricNamespace),
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 12:04:40 UTC 2024 - 131.9K bytes - Viewed (0)