Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for peerS3 (0.05 sec)

  1. internal/grid/handlers.go

    	HandlerClearUploadID:               peerPrefix,
    }
    
    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 uint32(handlerLast) > 255 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  2. cmd/peer-s3-client.go

    }
    
    // newPeerS3Clients creates new peer clients.
    func newPeerS3Clients(endpoints EndpointServerPools) (peers []peerS3Client) {
    	nodes := endpoints.GetNodes()
    	peers = make([]peerS3Client, len(nodes))
    	for i, node := range nodes {
    		if node.IsLocal {
    			peers[i] = &localPeerS3Client{node: node}
    		} else {
    			peers[i] = newPeerS3Client(node)
    		}
    		peers[i].SetPools(node.Pools)
    	}
    
    	return peers
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:26:05 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  3. cmd/peer-rest-client.go

    	return &peerRESTClient{
    		host: peer, restClient: restClient, gridHost: gridHost,
    		gridConn: func() *grid.Connection {
    			// Lazy initialization of grid connection.
    			// When we create this peer client, the grid connection is likely not yet initialized.
    			if gridHost == "" {
    				bugLogIf(context.Background(), fmt.Errorf("gridHost is empty for peer %s", peer.String()), peer.String()+":gridHost")
    				return nil
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  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)
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
  5. cmd/peer-rest-server.go

    		m.VariableLabels[serverName] = globalLocalNodeName
    		res = append(res, &m)
    		return true
    	})
    	return aoMetricsGroup.NewWith(res), nil
    }
    
    // GetPeerMetrics gets the metrics to be federated across peers.
    func (s *peerRESTServer) GetPeerMetrics(_ *grid.MSS) (*grid.Array[*MetricV2], *grid.RemoteErr) {
    	res := make([]*MetricV2, 0, len(peerMetricsGroups))
    	populateAndPublish(peerMetricsGroups, func(m MetricV2) bool {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  6. cmd/listen-notification-handlers.go

    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    	if bucketName != "" {
    		values.Set(peerRESTListenBucket, bucketName)
    	}
    	for _, peer := range peers {
    		if peer == nil {
    			continue
    		}
    		peer.Listen(ctx, mergeCh, values)
    	}
    
    	var (
    		emptyEventTicker <-chan time.Time
    		keepAliveTicker  <-chan time.Time
    	)
    
    	if p := values.Get("ping"); p != "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6K bytes
    - Viewed (0)
  7. cmd/endpoint.go

    	}
    
    	return hosts
    }
    
    // peers will return all peers, including local.
    // The local peer is returned as a separate string.
    func (l EndpointServerPools) peers() (peers []string, local string) {
    	allSet := set.NewStringSet()
    	for _, ep := range l {
    		for _, endpoint := range ep.Endpoints {
    			if endpoint.Type() != URLEndpointType {
    				continue
    			}
    
    			peer := endpoint.Host
    			if endpoint.IsLocal {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  8. cmd/notification.go

    		}
    	}
    
    	if pools, ok := objAPI.(*erasureServerPools); ok {
    		pools.StopRebalance()
    	}
    }
    
    // LoadRebalanceMeta notifies all peers to load rebalance.bin from object layer.
    // Note: Only peers participating in rebalance operation, namely the first node
    // in each pool will load rebalance.bin.
    func (sys *NotificationSys) LoadRebalanceMeta(ctx context.Context, startRebalance bool) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 46.2K bytes
    - Viewed (0)
  9. cmd/peer-rest-common.go

    package cmd
    
    import "time"
    
    const (
    	peerRESTVersion       = "v39" // add more flags to speedtest API
    	peerRESTVersionPrefix = SlashSeparator + peerRESTVersion
    	peerRESTPrefix        = minioReservedBucketPath + "/peer"
    	peerRESTPath          = peerRESTPrefix + peerRESTVersionPrefix
    )
    
    const (
    	peerRESTMethodHealth                = "/health"
    	peerRESTMethodVerifyBinary          = "/verifybinary"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. cmd/admin-handlers.go

    				case encodedCh <- append(grid.GetByteBuffer()[:0], buf.Bytes()...):
    				}
    			}
    		}
    	}()
    
    	// Collect from matching peers
    	for _, peer := range peers {
    		if peer == nil {
    			continue
    		}
    		if node == "" || strings.EqualFold(peer.host.Name, node) {
    			peer.ConsoleLog(ctx, logKind, encodedCh)
    		}
    	}
    
    	keepAliveTicker := time.NewTicker(500 * time.Millisecond)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
Back to top