Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Chan (0.16 sec)

  1. cmd/bucket-replication.go

    	mrfMU      sync.Mutex
    	resyncer   *replicationResyncer
    
    	// workers:
    	workers    []chan ReplicationWorkerOperation
    	lrgworkers []chan ReplicationWorkerOperation
    
    	// mrf:
    	mrfWorkerKillCh chan struct{}
    	mrfReplicaCh    chan ReplicationWorkerOperation
    	mrfSaveCh       chan MRFReplicateEntry
    	mrfStopCh       chan struct{}
    	mrfWorkerSize   int
    }
    
    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)
  2. cmd/object-handlers_test.go

    		// Part with size larger than 5 MiB.
    		{bucketName, objectName, uploadIDs[0], 5, string(validPart), validPartMD5, int64(len(validPart))},
    		{bucketName, objectName, uploadIDs[0], 6, string(validPart), validPartMD5, int64(len(validPart))},
    
    		// Part with size larger than 5 MiB.
    		// Parts uploaded for anonymous/unsigned API handler test.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  3. cmd/metrics-v2.go

    func (c *minioBucketCollector) Describe(ch chan<- *prometheus.Desc) {
    	ch <- c.desc
    }
    
    // Collect is called by the Prometheus registry when collecting metrics.
    func (c *minioBucketCollector) Collect(out chan<- prometheus.Metric) {
    	var wg sync.WaitGroup
    	publish := func(in <-chan MetricV2) {
    		defer wg.Done()
    		for metric := range in {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  4. cmd/site-replication.go

    		// be cleaned to recover.
    		partial := madmin.ReplicateAddStatus{
    			Status:    madmin.ReplicateAddStatusPartial,
    			ErrDetail: peerAddErr.Error(),
    		}
    
    		return partial, nil
    	}
    
    	// Other than handling existing buckets, we can now save the cluster
    	// replication configuration state.
    	state := srState{
    		Name:                    sites[selfIdx].Name,
    		Peers:                   joinReq.Peers,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 184.1K bytes
    - Viewed (1)
  5. cmd/server_test.go

    	// Parse the bucket modtime
    	creationTime, err := time.Parse(iso8601TimeFormat, createdBucket.CreationDate)
    	c.Assert(err, nil)
    
    	// Check if bucket modtime is consistent (not less than current time and not late more than 5 minutes)
    	timeNow := time.Now().UTC()
    	c.Assert(creationTime.Before(timeNow), true)
    	c.Assert(timeNow.Sub(creationTime) < time.Minute*5, true)
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
  6. cmd/object-handlers.go

    			if !srcTimestamp.IsZero() {
    				ondiskTimestamp, err := time.Parse(time.RFC3339Nano, lastTaggingTimestamp)
    				// update tagging metadata only if replica  timestamp is newer than what's on disk
    				if err != nil || (err == nil && ondiskTimestamp.Before(srcTimestamp)) {
    					srcInfo.UserDefined[ReservedMetadataPrefixLower+TaggingTimestamp] = srcTimestamp.UTC().Format(time.RFC3339Nano)
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 125K bytes
    - Viewed (0)
Back to top