Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. cmd/bucket-replication.go

    		if roi.ExistingObjResync.mustResync() && (roi.ReplicationStatus == replication.Completed || roi.ReplicationStatus.Empty()) {
    			queueReplicateDeletesWrapper(dv, roi.ExistingObjResync)
    			return
    		}
    		return
    	}
    	if roi.ExistingObjResync.mustResync() {
    		roi.OpType = replication.ExistingObjectReplicationType
    	}
    	switch roi.ReplicationStatus {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 118K bytes
    - Viewed (0)
  2. 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 {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 26K bytes
    - Viewed (0)
Back to top