- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for srUpdateReplicaStat (0.14 sec)
-
cmd/bucket-replication-stats.go
defer r.Unlock() bs, ok := r.Cache[bucket] if !ok { bs = newBucketReplicationStats() } bs.ReplicaSize += n bs.ReplicaCount++ r.Cache[bucket] = bs r.srUpdateReplicaStat(n) } func (r *ReplicationStats) srUpdateReplicaStat(sz int64) { if r == nil { return } atomic.AddInt64(&r.srStats.ReplicaSize, sz) atomic.AddInt64(&r.srStats.ReplicaCount, 1) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 12:04:40 UTC 2024 - 13.6K bytes - Viewed (0)