Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for globalEndpoints (0.1 sec)

  1. cmd/admin-handlers-pools.go

    		if i, err := strconv.Atoi(v); err == nil && i >= 0 && i < len(globalEndpoints) {
    			idx = i
    		}
    	} else {
    		idx = globalEndpoints.GetPoolIdx(v)
    	}
    
    	if idx == -1 {
    		// We didn't find any matching pools, invalid input
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, errInvalidArgument), r.URL)
    		return
    	}
    
    	if !proxyDecommissionRequest(ctx, globalEndpoints[idx].Endpoints[0], w, r) {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Sep 04 20:47:24 UTC 2025
    - 11K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool-rebalance.go

    	z.rebalMu.RUnlock()
    
    	for poolIdx, doRebalance := range participants {
    		if !doRebalance {
    			continue
    		}
    		// nothing to do if this node is not pool's first node (i.e pool's rebalance 'leader').
    		if !globalEndpoints[poolIdx].Endpoints[0].IsLocal {
    			continue
    		}
    
    		go func(idx int) {
    			stopfn := globalRebalanceMetrics.log(rebalanceMetricRebalanceBuckets, idx)
    			err := z.rebalanceBuckets(ctx, idx)
    			stopfn(0, err)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Sep 04 20:47:24 UTC 2025
    - 28.9K bytes
    - Viewed (0)
Back to top