Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for loadPrefixUsageFromBackend (0.12 sec)

  1. cmd/data-usage.go

    		}
    		attempts++
    	}
    }
    
    var prefixUsageCache = cachevalue.New[map[string]uint64]()
    
    // loadPrefixUsageFromBackend returns prefix usages found in passed buckets
    //
    //	e.g.:  /testbucket/prefix => 355601334
    func loadPrefixUsageFromBackend(ctx context.Context, objAPI ObjectLayer, bucket string) (map[string]uint64, error) {
    	z, ok := objAPI.(*erasureServerPools)
    	if !ok {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 09 00:51:34 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. cmd/admin-handlers-users.go

    			versionsHist := bui.ObjectVersionsHistogram
    
    			// Fetch the prefix usage of the current bucket
    			var prefixUsage map[string]uint64
    			if enablePrefixUsage {
    				prefixUsage, _ = loadPrefixUsageFromBackend(ctx, objectAPI, bucket.Name)
    			}
    
    			lcfg, _ := globalBucketObjectLockSys.Get(bucket.Name)
    			quota, _ := globalBucketQuotaSys.Get(ctx, bucket.Name)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 03 23:11:02 UTC 2024
    - 85.1K bytes
    - Viewed (0)
Back to top