Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. cmd/bucket-replication-utils.go

    	ID         int                                      `json:"id" msg:"id"`
    	LastUpdate time.Time                                `json:"lastUpdate" msg:"lu"`
    }
    
    func (rs *BucketReplicationResyncStatus) cloneTgtStats() (m map[string]TargetReplicationResyncStatus) {
    	m = make(map[string]TargetReplicationResyncStatus)
    	for arn, st := range rs.TargetsMap {
    		m[arn] = st
    	}
    	return
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  2. cmd/bucket-replication.go

    				replLogIf(ctx, err)
    			}
    			continue
    		}
    
    		p.resyncer.Lock()
    		p.resyncer.statusMap[bucket] = meta
    		p.resyncer.Unlock()
    
    		tgts := meta.cloneTgtStats()
    		for arn, st := range tgts {
    			switch st.ResyncStatus {
    			case ResyncFailed, ResyncStarted, ResyncPending:
    				go p.resyncer.resyncBucket(ctx, objAPI, true, resyncOpts{
    					bucket:       bucket,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
Back to top