mirror of
https://github.com/pgsty/minio.git
synced 2026-07-20 20:50:22 +03:00
remove replication stats from data usage cache (#20524)
This is no longer needed since historical stats are not maintained anymore.
This commit is contained in:
@@ -551,9 +551,6 @@ func (er erasureObjects) nsScanner(ctx context.Context, buckets []BucketInfo, wa
|
||||
var root dataUsageEntry
|
||||
if r := cache.root(); r != nil {
|
||||
root = cache.flatten(*r)
|
||||
if root.ReplicationStats.empty() {
|
||||
root.ReplicationStats = nil
|
||||
}
|
||||
}
|
||||
select {
|
||||
case <-ctx.Done():
|
||||
|
||||
Reference in New Issue
Block a user