Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for statusMap (0.06 sec)

  1. cmd/bucket-replication.go

    	s.Lock()
    	defer s.Unlock()
    
    	m := s.statusMap[opts.bucket]
    	st := m.TargetsMap[opts.arn]
    	st.LastUpdate = UTCNow()
    	st.ResyncStatus = status
    	m.TargetsMap[opts.arn] = st
    	m.LastUpdate = UTCNow()
    	s.statusMap[opts.bucket] = m
    
    	ctx, cancel := context.WithTimeout(context.Background(), time.Second)
    	defer cancel()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  2. cmd/bucket-replication-utils.go

    func (v VersionPurgeStatusType) Pending() bool {
    	return v == Pending || v == Failed
    }
    
    type replicationResyncer struct {
    	// map of bucket to their resync status
    	statusMap      map[string]BucketReplicationResyncStatus
    	workerSize     int
    	resyncCancelCh chan struct{}
    	workerCh       chan struct{}
    	sync.RWMutex
    }
    
    const (
    	replicationDir      = ".replication"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  3. cmd/site-replication.go

    			m, ok := globalReplicationPool.Get().resyncer.statusMap[bucket]
    			if !ok {
    				m = newBucketResyncStatus(bucket)
    			}
    			if st, ok := m.TargetsMap[t.Arn]; ok {
    				st.LastUpdate = UTCNow()
    				st.ResyncStatus = ResyncCanceled
    				m.TargetsMap[t.Arn] = st
    				m.LastUpdate = UTCNow()
    			}
    			globalReplicationPool.Get().resyncer.statusMap[bucket] = m
    			globalReplicationPool.Get().resyncer.Unlock()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
Back to top