Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ReplicaModifications (0.1 sec)

  1. internal/bucket/replication/sourceselectioncriteria.go

    import (
    	"encoding/xml"
    )
    
    // ReplicaModifications specifies if replica modification sync is enabled
    type ReplicaModifications struct {
    	Status Status `xml:"Status" json:"Status"`
    }
    
    // SourceSelectionCriteria - specifies additional source selection criteria in ReplicationConfiguration.
    type SourceSelectionCriteria struct {
    	ReplicaModifications ReplicaModifications `xml:"ReplicaModifications" json:"ReplicaModifications"`
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  2. internal/bucket/replication/rule_test.go

    			opts:           ObjectOpts{Name: "c1test", DeleteMarker: false, OpType: ObjectReplicationType, Replica: false}, // 1. Replica mod sync enabled; not...
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  3. internal/bucket/replication/replication.go

    	}
    	// By default, set replica modification to enabled if unset.
    	for i := range config.Rules {
    		if len(config.Rules[i].SourceSelectionCriteria.ReplicaModifications.Status) == 0 {
    			config.Rules[i].SourceSelectionCriteria = SourceSelectionCriteria{
    				ReplicaModifications: ReplicaModifications{
    					Status: Enabled,
    				},
    			}
    		}
    		// Default DeleteReplication to disabled if unset.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. internal/bucket/replication/rule.go

    // replica modification sync is enabled.
    func (r Rule) MetadataReplicate(obj ObjectOpts) bool {
    	if !obj.Replica {
    		return true
    	}
    	return obj.Replica && r.SourceSelectionCriteria.ReplicaModifications.Status == Enabled
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.3K bytes
    - Viewed (0)
Back to top