Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for updateMetric (0.05 sec)

  1. cmd/site-replication-utils.go

    		return ResyncCompleted
    	}
    	if cmpCount+failCount == totBuckets {
    		return ResyncFailed
    	}
    	return ResyncStarted
    }
    
    // update resync metrics per object
    func (sm *siteResyncMetrics) updateMetric(r TargetReplicationResyncStatus, resyncID string) {
    	if !globalSiteReplicationSys.isEnabled() {
    		return
    	}
    	sm.Lock()
    	defer sm.Unlock()
    	s := sm.resyncStatus[resyncID]
    	if r.ReplicatedCount > 0 {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  2. cmd/bucket-replication.go

    	resultCh := make(chan TargetReplicationResyncStatus, 1)
    	defer xioutil.SafeClose(resultCh)
    	go func() {
    		for r := range resultCh {
    			s.incStats(r, opts)
    			globalSiteResyncMetrics.updateMetric(r, opts.resyncID)
    		}
    	}()
    
    	var wg sync.WaitGroup
    	for i := range resyncParallelRoutines {
    		wg.Add(1)
    		workers[i] = make(chan ReplicateObjectInfo, 100)
    		i := i
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 118K bytes
    - Viewed (0)
Back to top