Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetAllBucketStats (0.22 sec)

  1. cmd/peer-rest-client.go

    	if err != nil || resp == nil {
    		return SRMetricsSummary{}, err
    	}
    	return *resp, nil
    }
    
    // GetAllBucketStats - load replication stats for all buckets
    func (client *peerRESTClient) GetAllBucketStats(ctx context.Context) (BucketStatsMap, error) {
    	resp, err := getAllBucketStatsRPC.Call(ctx, client.gridConn(), grid.NewMSS())
    	if err != nil || resp == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  2. cmd/notification.go

    	for index, client := range sys.peerClients {
    		index := index
    		client := client
    		ng.Go(ctx, func() error {
    			if client == nil {
    				return errPeerNotReachable
    			}
    			bsMap, err := client.GetAllBucketStats(ctx)
    			if err != nil {
    				return err
    			}
    			replicationStats[index] = bsMap
    			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