Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for bucketStats (0.14 sec)

  1. cmd/site-replication.go

    		}
    	}
    
    	for i, sri := range sris {
    		for b := range allBuckets {
    			if _, ok := bucketStats[b]; !ok {
    				bucketStats[b] = make([]srBucketMetaInfo, numSites)
    			}
    			si, ok := sri.Buckets[b]
    			if !ok {
    				si = madmin.SRBucketInfo{Bucket: b}
    			}
    			bucketStats[b][i] = srBucketMetaInfo{SRBucketInfo: si, DeploymentID: sri.DeploymentID}
    		}
    
    		for pname := range allPolicies {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
  2. cmd/bucket-replication-handlers.go

    	enc := json.NewEncoder(w)
    	stats := globalReplicationStats.Load().getLatestReplicationStats(bucket)
    	bwRpt := globalNotificationSys.GetBandwidthReports(ctx, bucket)
    	bwMap := bwRpt.BucketStats
    	for arn, st := range stats.ReplicationStats.Stats {
    		for opts, bw := range bwMap {
    			if opts.ReplicationARN != "" && opts.ReplicationARN == arn {
    				st.BandWidthLimitInBytesPerSecond = bw.LimitInBytesPerSecond
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  3. cmd/peer-rest-client.go

    // 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,
    	}))
    	if err != nil || resp == nil {
    		return BucketStats{}, err
    	}
    	return *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)
  4. cmd/metrics-v2.go

    		}
    
    		metrics = append(metrics, MetricV2{
    			Description: getUsageLastScanActivityMD(),
    			Value:       float64(time.Since(dataUsageInfo.LastUpdate)),
    		})
    
    		var bucketReplStats map[string]BucketStats
    		if !globalSiteReplicationSys.isEnabled() {
    			bucketReplStats = globalReplicationStats.Load().getAllLatest(dataUsageInfo.BucketsUsage)
    		}
    		for bucket, usage := range dataUsageInfo.BucketsUsage {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  5. cmd/admin-bucket-handlers.go

    	if err != nil {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrInvalidRequest), r.URL)
    		return
    	}
    	rpt := importMetaReport{
    		madmin.BucketMetaImportErrs{
    			Buckets: make(map[string]madmin.BucketStatus, len(zr.File)),
    		},
    	}
    
    	bucketMap := make(map[string]*BucketMetadata, len(zr.File))
    
    	updatedAt := UTCNow()
    
    	for _, file := range zr.File {
    		slc := strings.Split(file.Name, slashSeparator)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 33.2K bytes
    - Viewed (0)
Back to top