Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for ResyncStatus (0.19 sec)

  1. cmd/site-replication-utils.go

    //msgp:ignore siteResyncMetrics
    type siteResyncMetrics struct {
    	sync.RWMutex
    	// resyncStatus maps resync ID to resync status for peer
    	resyncStatus map[string]SiteResyncStatus
    	// map peer deployment ID to resync ID
    	peerResyncMap map[string]resyncState
    }
    
    func newSiteResyncMetrics(ctx context.Context) *siteResyncMetrics {
    	s := siteResyncMetrics{
    		resyncStatus:  make(map[string]SiteResyncStatus),
    		peerResyncMap: make(map[string]resyncState),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. cmd/bucket-replication-utils_gen.go

    		case "EndTime":
    			z.EndTime, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "EndTime")
    				return
    			}
    		case "ResyncStatus":
    			z.ResyncStatus, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "ResyncStatus")
    				return
    			}
    		case "ReplicatedSize":
    			z.ReplicatedSize, err = dc.ReadInt64()
    			if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 61.1K bytes
    - Viewed (0)
  3. cmd/bucket-replication-utils.go

    	Arn       string    `json:"arn"`
    	ResetID   string    `json:"resetid"`
    	StartTime time.Time `json:"startTime"`
    	EndTime   time.Time `json:"endTime"`
    	// Status of resync operation
    	ResyncStatus string `json:"resyncStatus,omitempty"`
    	// Completed size in bytes
    	ReplicatedSize int64 `json:"completedReplicationSize"`
    	// Failed size in bytes
    	FailedSize int64 `json:"failedReplicationSize"`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  4. cmd/bucket-replication.go

    	select {
    	case <-s.workerCh: // block till a worker is available
    	case <-ctx.Done():
    		return
    	}
    
    	resyncStatus := ResyncFailed
    	defer func() {
    		s.markStatus(resyncStatus, opts, objectAPI)
    		globalSiteResyncMetrics.incBucket(opts, resyncStatus)
    		s.workerCh <- struct{}{}
    	}()
    	// Allocate new results channel to receive ObjectInfo.
    	objInfoCh := make(chan itemOrErr[ObjectInfo])
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  5. cmd/bucket-replication-handlers.go

    		}
    		rinfo.Targets = append(rinfo.Targets, ResyncTarget{
    			Arn:             tarn,
    			ResetID:         st.ResyncID,
    			StartTime:       st.StartTime,
    			EndTime:         st.LastUpdate,
    			ResyncStatus:    st.ResyncStatus.String(),
    			ReplicatedSize:  st.ReplicatedSize,
    			ReplicatedCount: st.ReplicatedCount,
    			FailedSize:      st.FailedSize,
    			FailedCount:     st.FailedCount,
    			Bucket:          st.Bucket,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  6. 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