Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 70 for peek (1.33 sec)

  1. cmd/metacache-manager.go

    package cmd
    
    import (
    	"context"
    	"fmt"
    	"runtime/debug"
    	"sync"
    	"time"
    
    	"github.com/minio/minio/internal/logger"
    )
    
    // localMetacacheMgr is the *local* manager for this peer.
    // It should never be used directly since buckets are
    // distributed deterministically.
    // Therefore no cluster locks are required.
    var localMetacacheMgr = &metacacheManager{
    	buckets: make(map[string]*bucketMetacache),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Oct 25 00:44:15 GMT 2022
    - 5.2K bytes
    - Viewed (0)
  2. cmd/http-tracer.go

    	op = strings.Replace(op, "objectAPIHandlers", "s3", 1)
    	op = strings.Replace(op, "adminAPIHandlers", "admin", 1)
    	op = strings.Replace(op, "(*storageRESTServer)", "storageR", 1)
    	op = strings.Replace(op, "(*peerRESTServer)", "peer", 1)
    	op = strings.Replace(op, "(*lockRESTServer)", "lockR", 1)
    	op = strings.Replace(op, "(*stsAPIHandlers)", "sts", 1)
    	op = strings.Replace(op, "(*peerS3Server)", "s3", 1)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 21 01:09:35 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  3. docs/site-replication/run-multi-site-minio-idp.sh

    ./mc admin replicate add minio1 minio2
    
    site_enabled=$(./mc admin replicate info minio1)
    site_enabled_peer=$(./mc admin replicate info minio10)
    
    [[ $site_enabled =~ "is not enabled" ]] && {
    	echo "expected both peers to have same information"
    	exit_1
    }
    
    [[ $site_enabled_peer =~ "is not enabled" ]] && {
    	echo "expected both peers to have same information"
    	exit_1
    }
    
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 07 00:19:24 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  4. cmd/iam-store.go

    		v, ok := cache.iamGroupPolicyMap.Load(name)
    		return v, ok
    	}
    	return cache.iamUserPolicyMap.Load(name)
    }
    
    // GroupNotificationHandler - updates in-memory cache on notification of
    // change (e.g. peer notification for object storage and etcd watch
    // notification).
    func (store *IAMStoreSys) GroupNotificationHandler(ctx context.Context, group string) error {
    	cache := store.lock()
    	defer store.unlock()
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  5. cmd/speedtest.go

    					throughputHighestGet = totalGet
    				}
    				sendResult()
    				break
    			}
    
    			// We break if we did not see 2.5% growth rate in total GET
    			// requests, we have reached our peak at this point.
    			doBreak := float64(totalGet-throughputHighestGet)/float64(totalGet) < 0.025
    
    			throughputHighestGet = totalGet
    			throughputHighestResults = results
    			throughputHighestPut = totalPut
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 28 18:04:17 GMT 2024
    - 9K bytes
    - Viewed (0)
  6. internal/s3select/select_test.go

    	return newBytesRSC([]byte(s))
    }
    
    func newBytesRSC(b []byte) io.ReadSeekCloser {
    	r := bytes.NewReader(b)
    	segmentReader := func(offset int64) (io.ReadCloser, error) {
    		_, err := r.Seek(offset, io.SeekStart)
    		if err != nil {
    			return nil, err
    		}
    		return io.NopCloser(r), nil
    	}
    	return NewObjectReadSeekCloser(segmentReader, int64(len(b)))
    }
    
    type testResponseWriter struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  7. cmd/erasure-metadata.go

    	if offset == 0 {
    		// Special case - if offset is 0, then partIndex and partOffset are always 0.
    		return 0, 0, nil
    	}
    	partOffset = offset
    	// Seek until object offset maps to a particular part offset.
    	for i, part := range fi.Parts {
    		partIndex = i
    		// Offset is smaller than size we have reached the proper part offset.
    		if partOffset < part.Size {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  8. docs/metrics/prometheus/list.md

    | `minio_inter_node_traffic_received_bytes` | Total number of bytes received from other peer nodes.   |
    | `minio_inter_node_traffic_sent_bytes`     | Total number of bytes sent to the other peer nodes.     |
    
    ## Bucket Notification Metrics
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 43.4K bytes
    - Viewed (2)
  9. internal/grid/handlers.go

    	HandlerRenameData2:                 storagePrefix,
    }
    
    const (
    	lockPrefix      = "lockR"
    	storagePrefix   = "storageR"
    	bootstrapPrefix = "bootstrap"
    	peerPrefix      = "peer"
    	peerPrefixS3    = "peerS3"
    	healPrefix      = "heal"
    )
    
    func init() {
    	// Static check if we exceed 255 handler ids.
    	// Extend the type to uint16 when hit.
    	if handlerLast > 255 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  10. 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)
Back to top