Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for GetBucketStats (0.13 sec)

  1. cmd/bucket-stats.go

    	if grs != nil {
    		qs.ActiveWorkers = grs.ActiveWorkers()
    	} else {
    		qs.ActiveWorkers = ActiveWorkerStat{}
    	}
    	qs.XferStats = make(map[RMetricName]XferStats)
    	qs.QStats = r.qCache.getBucketStats(bucket)
    	qs.TgtXferStats = make(map[string]map[RMetricName]XferStats)
    	qs.MRFStats = ReplicationMRFStats{
    		LastFailedCount: atomic.LoadUint64(&r.mrfStats.LastFailedCount),
    	}
    
    	r.RLock()
    	defer r.RUnlock()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 11:39:51 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  2. cmd/peer-rest-client.go

    	if err != nil {
    		return
    	}
    	defer xhttp.DrainBody(respBody)
    	err = gob.NewDecoder(respBody).Decode(&data)
    	return data, err
    }
    
    // GetBucketStats - load bucket statistics
    func (client *peerRESTClient) GetBucketStats(ctx context.Context, bucket string) (BucketStats, error) {
    	resp, err := getBucketStatsRPC.Call(ctx, client.gridConn(), grid.NewMSSWith(map[string]string{
    		peerRESTBucket: bucket,
    	}))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  3. cmd/notification.go

    	for index, client := range sys.peerClients {
    		index := index
    		client := client
    		ng.Go(ctx, func() error {
    			if client == nil {
    				return errPeerNotReachable
    			}
    			bs, err := client.GetBucketStats(ctx, bucketName)
    			if err != nil {
    				return err
    			}
    			bucketStats[index] = bs
    			return nil
    		}, index, *client.host)
    	}
    	for _, nErr := range ng.Wait() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 46.2K bytes
    - Viewed (0)
Back to top