Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for mustResync (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. cmd/bucket-replication-utils.go

    	targets map[string]ResyncTargetDecision
    }
    
    // Empty returns true if no targets with resync decision present
    func (r ResyncDecision) Empty() bool {
    	return r.targets == nil
    }
    
    func (r ResyncDecision) mustResync() bool {
    	for _, v := range r.targets {
    		if v.Replicate {
    			return true
    		}
    	}
    	return false
    }
    
    func (r ResyncDecision) mustResyncTarget(tgtArn string) bool {
    	if r.targets == nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 26.1K bytes
    - Click Count (0)
  2. cmd/bucket-replication.go

    		if roi.ExistingObjResync.mustResync() && (roi.ReplicationStatus == replication.Completed || roi.ReplicationStatus.Empty()) {
    			queueReplicateDeletesWrapper(dv, roi.ExistingObjResync)
    			return roi
    		}
    		return roi
    	}
    	if roi.ExistingObjResync.mustResync() {
    		roi.OpType = replication.ExistingObjectReplicationType
    	}
    	switch roi.ReplicationStatus {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 118.2K bytes
    - Click Count (0)
Back to Top