Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for IsDataReplication (0.07 sec)

  1. internal/bucket/replication/replication.go

    	ResyncReplicationType
    	AllReplicationType
    )
    
    // Valid returns true if replication type is set
    func (t Type) Valid() bool {
    	return t > 0
    }
    
    // IsDataReplication returns true if content being replicated
    func (t Type) IsDataReplication() bool {
    	switch t {
    	case ObjectReplicationType, HealReplicationType, ExistingObjectReplicationType:
    		return true
    	}
    	return false
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  2. cmd/bucket-replication-stats.go

    	case replication.Pending:
    		if ri.OpType.IsDataReplication() && prevStatus != status {
    			rs.set(ri.Arn, ri.Size, 0, status, ri.OpType, ri.endpoint, ri.secure, ri.Err)
    		}
    	case replication.Completed:
    		if ri.OpType.IsDataReplication() {
    			rs.set(ri.Arn, ri.Size, ri.Duration, status, ri.OpType, ri.endpoint, ri.secure, ri.Err)
    		}
    	case replication.Failed:
    		if ri.OpType.IsDataReplication() && prevStatus == replication.Pending {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 13.6K bytes
    - Viewed (0)
Back to top