Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for StartRebalance (0.05 sec)

  1. cmd/admin-handlers-pools.go

    		writeErrorResponseJSON(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	// Rebalance routine is run on the first node of any pool participating in rebalance.
    	pools.StartRebalance()
    
    	b, err := json.Marshal(struct {
    		ID string `json:"id"`
    	}{ID: id})
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    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

    			},
    			NoAuditLog: true,
    		})
    	if err != nil {
    		err = fmt.Errorf("rebalanceObject: PutObject() %w", err)
    	}
    	return err
    }
    
    func (z *erasureServerPools) StartRebalance() {
    	z.rebalMu.Lock()
    	if z.rebalMeta == nil || !z.rebalMeta.StoppedAt.IsZero() { // rebalance not running, nothing to do
    		z.rebalMu.Unlock()
    		return
    	}
    	ctx, cancel := context.WithCancel(GlobalContext)
    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