Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for hits (0.13 sec)

  1. cmd/bucket-replication.go

    	// this option is set when active-active replication is in place between site A -> B,
    	// and request hits site B that does not have the object yet.
    	if opts.ProxyRequest || (opts.ProxyHeaderSet && !opts.ProxyRequest) { // true only when site B sets MinIOSourceProxyRequest header
    		return proxy
    	}
    	var wg sync.WaitGroup
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  2. cmd/metrics-v2.go

    // `api` label values.
    func getHistogramMetrics(hist *prometheus.HistogramVec, desc MetricDescription, toLowerAPILabels bool) []MetricV2 {
    	ch := make(chan prometheus.Metric)
    	go func() {
    		defer xioutil.SafeClose(ch)
    		// Collects prometheus metrics from hist and sends it over ch
    		hist.Collect(ch)
    	}()
    
    	// Converts metrics received into internal []Metric type
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  3. cmd/storage-datatypes_gen.go

    		}
    	}
    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z *DeleteOptions) EncodeMsg(en *msgp.Writer) (err error) {
    	// check for omitted fields
    	zb0001Len := uint32(5)
    	var zb0001Mask uint8 /* 5 bits */
    	_ = zb0001Mask
    	if z.OldDataDir == "" {
    		zb0001Len--
    		zb0001Mask |= 0x10
    	}
    	// variable map header, size zb0001Len
    	err = en.Append(0x80 | uint8(zb0001Len))
    	if err != nil {
    		return
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 127.5K bytes
    - Viewed (0)
  4. cmd/site-replication.go

    	peers := make(map[string]madmin.PeerInfo, len(arg.Peers))
    	for dID, pi := range arg.Peers {
    		if c.state.Peers != nil {
    			if existingPeer, ok := c.state.Peers[dID]; ok {
    				// retain existing ReplicateILMExpiry of peer if its already set
    				// and incoming arg has it false. it could be default false
    				if !pi.ReplicateILMExpiry && existingPeer.ReplicateILMExpiry {
    					pi.ReplicateILMExpiry = existingPeer.ReplicateILMExpiry
    				}
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  5. cmd/data-usage-cache_gen.go

    	return
    }
    
    // EncodeMsg implements msgp.Encodable
    func (z *dataUsageEntry) EncodeMsg(en *msgp.Writer) (err error) {
    	// check for omitted fields
    	zb0001Len := uint32(10)
    	var zb0001Mask uint16 /* 10 bits */
    	_ = zb0001Mask
    	if z.ReplicationStats == nil {
    		zb0001Len--
    		zb0001Mask |= 0x80
    	}
    	if z.AllTierStats == nil {
    		zb0001Len--
    		zb0001Mask |= 0x100
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 21 17:21:35 GMT 2024
    - 100.8K bytes
    - Viewed (0)
  6. cmd/object-handlers_test.go

    	// sets the bucket policy using the policy statement generated from `getWriteOnlyObjectStatement` so that the
    	// unsigned request goes through and its validated again.
    	ExecObjectLayerAPIAnonTest(t, obj, "TestAPIHeadObjectHandler", bucketName, objectName, instanceType, apiRouter, anonReq, getAnonReadOnlyObjectPolicy(bucketName, objectName))
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  7. cmd/admin-handlers.go

    	}
    
    	logKind := madmin.LogKind(strings.ToUpper(r.Form.Get("logType"))).LogMask()
    	if logKind == 0 {
    		logKind = madmin.LogMaskAll
    	}
    
    	// Avoid reusing tcp connection if read timeout is hit
    	// This is needed to make r.Context().Done() work as
    	// expected in case of read timeout
    	w.Header().Set("Connection", "close")
    
    	setEventStreamHeaders(w)
    
    	logCh := make(chan log.Info, 1000)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 29 17:39:04 GMT 2024
    - 97.8K bytes
    - Viewed (2)
Back to top