Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 79 for resyncID (0.34 sec)

  1. cmd/site-replication-utils.go

    const (
    	siteResyncPrefix = bucketMetaPrefix + "/site-replication/resync"
    )
    
    type resyncState struct {
    	resyncID  string
    	LastSaved time.Time
    }
    
    //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
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 8.9K bytes
    - Viewed (1)
  2. cmd/bucket-replication-utils.go

    	arn          string
    	resyncID     string
    	resyncBefore time.Time
    }
    
    // ResyncStatusType status of resync operation
    type ResyncStatusType int
    
    const (
    	// NoResync - no resync in progress
    	NoResync ResyncStatusType = iota
    	// ResyncPending - resync pending
    	ResyncPending
    	// ResyncCanceled - resync canceled
    	ResyncCanceled
    	// ResyncStarted -  resync in progress
    	ResyncStarted
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  3. cmd/bucket-replication.go

    		Error:     errStr,
    		Bytes:     sz,
    	}
    }
    
    // delete resync metadata from replication resync state in memory
    func (p *ReplicationPool) deleteResyncMetadata(ctx context.Context, bucket string) {
    	if p == nil {
    		return
    	}
    	p.resyncer.Lock()
    	delete(p.resyncer.statusMap, bucket)
    	defer p.resyncer.Unlock()
    
    	globalSiteResyncMetrics.deleteBucket(bucket)
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 114.4K bytes
    - Viewed (0)
  4. cmd/bucket-replication-utils_gen.go

    		case "lst":
    			z.LastUpdate, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "LastUpdate")
    				return
    			}
    		case "id":
    			z.ResyncID, err = dc.ReadString()
    			if err != nil {
    				err = msgp.WrapError(err, "ResyncID")
    				return
    			}
    		case "rdt":
    			z.ResyncBeforeDate, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "ResyncBeforeDate")
    				return
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 61.1K bytes
    - Viewed (0)
  5. cmd/bucket-replication-handlers.go

    		writeErrorResponseJSON(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	if err := globalReplicationPool.resyncer.start(ctx, objectAPI, resyncOpts{
    		bucket:       bucket,
    		arn:          arn,
    		resyncID:     resetID,
    		resyncBefore: resetBeforeDate,
    	}); err != nil {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErrWithErr(ErrBadRequest, InvalidArgument{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  6. cmd/site-replication.go

    		OpType:   "start",
    		ResyncID: rs.ResyncID,
    		Buckets:  res.Buckets,
    	}
    	if len(res.Buckets) > 0 {
    		res.ErrDetail = "partial failure in starting site resync"
    	}
    	if len(buckets) != 0 && len(res.Buckets) == len(buckets) {
    		return res, fmt.Errorf("all buckets resync failed")
    	}
    	return res, nil
    }
    
    // cancelResync stops an ongoing site level resync for the peer specified.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 184.3K bytes
    - Viewed (0)
  7. pkg/proxy/apis/config/types.go

    	// than 0.
    	SyncPeriod metav1.Duration
    	// minSyncPeriod is the minimum period between iptables rule resyncs (e.g. '5s',
    	// '1m', '2h22m'). A value of 0 means every Service or EndpointSlice change will
    	// result in an immediate iptables resync.
    	MinSyncPeriod metav1.Duration
    }
    
    // KubeProxyIPVSConfiguration contains ipvs-related configuration
    // details for the Kubernetes proxy server.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 13K bytes
    - Viewed (0)
  8. pkg/controller/deployment/progress.go

    	}
    	// If there is no sign of progress at this point then there is a high chance that the
    	// deployment is stuck. We should resync this deployment at some point in the future[1]
    	// and check whether it has timed out. We definitely need this, otherwise we depend on the
    	// controller resync interval. See https://github.com/kubernetes/kubernetes/issues/34458.
    	//
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 13 11:00:44 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  9. docs/bucket/replication/DESIGN.md

    replicate objects one at a time so as not to impede server load. Ideally, resync should not be initiated for multiple buckets simultaneously - progress of the syncing can be monitored by looking at `mc replicate resync status alias/bucket --remote-bucket <arn>`. In the event that resync operation failed to replicate some versions, they would be picked up by the healing mechanism in-built as part of the scanner. If the resync operation reports a failed status or in the event of a cluster restart while...
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 14.7K bytes
    - Viewed (0)
  10. pkg/controller/resourcequota/resource_quota_controller.go

    			logger.V(4).Info("no resource updates from discovery, skipping resource quota sync")
    			return
    		}
    
    		// Ensure workers are paused to avoid processing events before informers
    		// have resynced.
    		rq.workerLock.Lock()
    		defer rq.workerLock.Unlock()
    
    		// Something has changed, so track the new state and perform a sync.
    		if loggerV := logger.V(2); loggerV.Enabled() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 21.3K bytes
    - Viewed (0)
Back to top