Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for peek (0.14 sec)

  1. cmd/bucket-targets.go

    }
    
    type latencyStat struct {
    	lastmin lastMinuteLatency
    	curr    time.Duration
    	avg     time.Duration
    	peak    time.Duration
    	N       int64
    }
    
    func (l *latencyStat) update(d time.Duration) {
    	l.lastmin.add(d)
    	l.N++
    	if d > l.peak {
    		l.peak = d
    	}
    	l.curr = l.lastmin.getTotal().avg()
    	l.avg = time.Duration((int64(l.avg)*(l.N-1) + int64(l.curr)) / l.N)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  2. cmd/object-handlers.go

    		return
    	}
    
    	ot, err := objAPI.GetObjectTags(ctx, bucket, object, opts)
    	if err != nil {
    		// if object/version is not found locally, but exists on peer site - proxy
    		// the tagging request to peer site. The response to client will
    		// return tags from peer site.
    		if isErrObjectNotFound(err) || isErrVersionNotFound(err) {
    			proxytgts := getProxyTargets(ctx, bucket, object, opts)
    			if !proxytgts.Empty() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  3. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrSiteReplicationPeerResp: {
    		Code:           "XMinioSiteReplicationPeerResp",
    		Description:    "Error received when contacting a peer site",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrSiteReplicationBackendIssue: {
    		Code:           "XMinioSiteReplicationBackendIssue",
    		Description:    "Error when requesting object layer backend",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  4. cmd/site-replication.go

    	var (
    		prevPeerInfo, pi madmin.PeerInfo
    	)
    	if peer.DeploymentID != "" {
    		pi = c.state.Peers[peer.DeploymentID]
    		prevPeerInfo = pi
    		if !peer.SyncState.Empty() { // update replication to peer to be sync/async
    			pi.SyncState = peer.SyncState
    			successMsg = fmt.Sprintf("%s\n- sync state %s for peer %s", successMsg, peer.SyncState, peer.Name)
    		}
    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/test-utils_test.go

    	req.Header.Set("x-amz-decoded-content-length", strconv.FormatInt(dataLength, 10))
    	req.Header.Set("content-length", strconv.FormatInt(contentLength, 10))
    
    	// Seek back to beginning.
    	body.Seek(0, 0)
    
    	// Add body
    	req.Body = io.NopCloser(body)
    	req.ContentLength = contentLength
    
    	return req, nil
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  6. docs/metrics/v3.md

    | `minio_system_network_internode_sent_bytes_total`    | `counter` | Total number of bytes sent to other peer nodes           | `server,pool_index` |
    | `minio_system_network_internode_recv_bytes_total`    | `counter` | Total number of bytes received from other peer nodes     | `server,pool_index` |
    
    ### `/system/process`
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 17:37:57 GMT 2024
    - 28.5K bytes
    - Viewed (0)
  7. cmd/metacache-set.go

    		}
    		if contextCanceled(ctx) {
    			return ctx.Err()
    		}
    		for i, r := range readers {
    			if errs[i] != nil {
    				hasErr++
    				continue
    			}
    			entry, err := r.peek()
    			switch err {
    			case io.EOF:
    				atEOF++
    				continue
    			case nil:
    			default:
    				switch err.Error() {
    				case errFileNotFound.Error():
    					atEOF++
    					fnf++
    					continue
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:59:08 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  8. cmd/sts-handlers.go

    	if r.TLS == nil {
    		writeSTSErrorResponse(ctx, w, ErrSTSInsecureConnection, errors.New("No TLS connection attempt"))
    		return
    	}
    
    	// A client may send a certificate chain such that we end up
    	// with multiple peer certificates. However, we can only accept
    	// a single client certificate. Otherwise, the certificate to
    	// policy mapping would be ambiguous.
    	// However, we can filter all CA certificates and only check
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 21:31:13 GMT 2024
    - 34.7K bytes
    - Viewed (2)
  9. cmd/server-main.go

    		for _, list := range cfV1.Pools {
    			pools = append(pools, poolArgs{
    				args:          list,
    				setDriveCount: setDriveCount,
    			})
    		}
    	case "v2":
    		cf := config.ServerConfig{}
    		cfReader.Seek(0, io.SeekStart)
    		if err = yaml.Unmarshal(rd, &cf); err != nil {
    			return err
    		}
    
    		pools = make([]poolArgs, 0, len(cf.Pools))
    		for _, list := range cf.Pools {
    			driveCount := list.SetDriveCount
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 34.9K bytes
    - Viewed (1)
Back to top