Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for BucketsUsage (0.09 sec)

  1. cmd/bucket-quota.go

    		}
    	}
    
    	if len(dui.BucketsUsage) > 0 {
    		bui, ok := dui.BucketsUsage[bucket]
    		if ok {
    			return bui
    		}
    	}
    	return BucketUsageInfo{}
    }
    
    // parseBucketQuota parses BucketQuota from json
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 00:34:56 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. cmd/data-usage.go

    		return DataUsageInfo{}, err
    	}
    	// For forward compatibility reasons, we need to add this code.
    	if len(dataUsageInfo.BucketsUsage) == 0 {
    		dataUsageInfo.BucketsUsage = make(map[string]BucketUsageInfo, len(dataUsageInfo.BucketSizes))
    		for bucket, size := range dataUsageInfo.BucketSizes {
    			dataUsageInfo.BucketsUsage[bucket] = BucketUsageInfo{Size: size}
    		}
    	}
    
    	// For backward compatibility reasons, we need to add this code.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 09 00:51:34 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. cmd/metrics-v3-cluster-usage.go

    		clusterVersionsCount      uint64
    		clusterDeleteMarkersCount uint64
    	)
    
    	clusterObjectSizesHistogram := map[string]uint64{}
    	clusterVersionsHistogram := map[string]uint64{}
    	for _, usage := range dataUsageInfo.BucketsUsage {
    		clusterBuckets++
    		clusterSize += usage.Size
    		clusterObjectsCount += usage.ObjectsCount
    		clusterVersionsCount += usage.VersionsCount
    		clusterDeleteMarkersCount += usage.DeleteMarkersCount
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jul 14 18:11:42 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  4. cmd/data-usage-utils.go

    	// Buckets usage info provides following information across all buckets
    	// - total size of the bucket
    	// - total objects in a bucket
    	// - object size histogram per bucket
    	BucketsUsage map[string]BucketUsageInfo `json:"bucketsUsageInfo"`
    	// Deprecated kept here for backward compatibility reasons.
    	BucketSizes map[string]uint64 `json:"bucketsSizes"`
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Mar 10 09:15:15 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. cmd/metrics-v3-bucket-replication.go

    		return nil
    	}
    
    	dataUsageInfo, err := c.dataUsageInfo.Get()
    	if err != nil {
    		metricsLogIf(ctx, err)
    		return nil
    	}
    
    	bucketReplStats := globalReplicationStats.Load().getAllLatest(dataUsageInfo.BucketsUsage)
    	for _, bucket := range buckets {
    		labels := []string{bucketL, bucket}
    		if s, ok := bucketReplStats[bucket]; ok {
    			stats := s.ReplicationStats
    			if stats.hasReplicationUsage() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 8.1K bytes
    - Viewed (0)
Back to top