Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. cmd/endpoint.go

    	CmdLine      string
    	Platform     string
    }
    
    // EndpointServerPools - list of list of endpoints
    type EndpointServerPools []PoolEndpoints
    
    // ESCount returns the total number of erasure sets in this cluster
    func (l EndpointServerPools) ESCount() (count int) {
    	for _, p := range l {
    		count += p.SetCount
    	}
    	return
    }
    
    // GetNodes returns a sorted list of nodes in this cluster
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  2. cmd/bucket-metadata-sys.go

    	return sys.initialized
    }
    
    // Loads bucket metadata for all buckets into BucketMetadataSys.
    func (sys *BucketMetadataSys) init(ctx context.Context, buckets []string) {
    	count := globalEndpoints.ESCount() * 10
    	for {
    		if len(buckets) < count {
    			sys.concurrentLoad(ctx, buckets)
    			break
    		}
    		sys.concurrentLoad(ctx, buckets[:count])
    		buckets = buckets[count:]
    	}
    
    	sys.Lock()
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 20.4K bytes
    - Viewed (0)
Back to top