Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for tgtStatuses (0.58 sec)

  1. cmd/bucket-replication_test.go

    				},
    			},
    		},
    	},
    }
    
    var replicationConfigTests = []struct {
    	info         ObjectInfo
    	name         string
    	rcfg         replicationConfig
    	dsc          ReplicateDecision
    	tgtStatuses  map[string]replication.StatusType
    	expectedSync bool
    }{
    	{ // 1. no replication config
    		name:         "no replication config",
    		info:         ObjectInfo{Size: 100},
    		rcfg:         replicationConfig{Config: nil},
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Sep 16 09:28:06 GMT 2023
    - 12.2K bytes
    - Viewed (0)
  2. cmd/bucket-replication-utils.go

    	}
    
    	tgtStatuses := replicationStatusesMap(oi.ReplicationStatusInternal)
    	purgeStatuses := versionPurgeStatusesMap(oi.VersionPurgeStatusInternal)
    	existingObjResync := rcfg.Resync(GlobalContext, oi, dsc, tgtStatuses)
    	tm, _ := time.Parse(time.RFC3339Nano, userDefined[ReservedMetadataPrefixLower+ReplicationTimestamp])
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 26.2K bytes
    - Viewed (0)
  3. cmd/bucket-replication.go

    	return c.resync(oi, rdsc, tgtStatuses)
    }
    
    // wrapper function for testability. Returns true if a new reset is requested on
    // already replicated objects OR object qualifies for existing object replication
    // and no reset requested.
    func (c replicationConfig) resync(oi ObjectInfo, dsc ReplicateDecision, tgtStatuses map[string]replication.StatusType) (r ResyncDecision) {
    	r = ResyncDecision{
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 112.2K bytes
    - Viewed (1)
Back to top