Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for StopRebalance (0.11 sec)

  1. cmd/admin-handlers-pools.go

    	if !ok {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrNotImplemented), r.URL)
    		return
    	}
    
    	// Cancel any ongoing rebalance operation
    	globalNotificationSys.StopRebalance(r.Context())
    	writeSuccessResponseHeadersOnly(w)
    	adminLogIf(ctx, pools.saveRebalanceStats(GlobalContext, 0, rebalSaveStoppedAt))
    	globalNotificationSys.LoadRebalanceMeta(ctx, false)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 28 00:22:30 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. cmd/notification.go

    		if nErr.Err != nil {
    			peersLogOnceIf(logger.SetReqInfo(ctx, reqInfo), nErr.Err, nErr.Host.String())
    		}
    	}
    }
    
    // StopRebalance notifies all MinIO nodes to signal any ongoing rebalance
    // goroutine to stop.
    func (sys *NotificationSys) StopRebalance(ctx context.Context) {
    	objAPI := newObjectLayerFn()
    	if objAPI == nil {
    		internalLogIf(ctx, errServerNotInitialized)
    		return
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 46.2K bytes
    - Viewed (0)
  3. cmd/erasure-server-pool-rebalance.go

    			err := z.rebalanceBuckets(ctx, idx)
    			stopfn(0, err)
    		}(poolIdx)
    	}
    }
    
    // StopRebalance signals the rebalance goroutine running on this node (if any)
    // to stop, using the context.CancelFunc(s) saved at the time ofStartRebalance.
    func (z *erasureServerPools) StopRebalance() error {
    	z.rebalMu.Lock()
    	defer z.rebalMu.Unlock()
    
    	r := z.rebalMeta
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  4. cmd/peer-rest-client.go

    		return nil
    	}
    	_, err := cleanupUploadIDCacheMetaRPC.Call(ctx, conn, grid.NewMSSWith(map[string]string{
    		peerRESTUploadID: uploadID,
    	}))
    	return err
    }
    
    func (client *peerRESTClient) StopRebalance(ctx context.Context) error {
    	conn := client.gridConn()
    	if conn == nil {
    		return nil
    	}
    	_, err := stopRebalanceRPC.Call(ctx, conn, grid.NewMSSWith(map[string]string{}))
    	return err
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  5. cmd/peer-rest-server.go

    		return np, grid.NewRemoteErr(errServerNotInitialized)
    	}
    
    	pools, ok := objAPI.(*erasureServerPools)
    	if !ok {
    		return np, grid.NewRemoteErr(errors.New("not a pooled setup"))
    	}
    
    	pools.StopRebalance()
    	return
    }
    
    func (s *peerRESTServer) LoadRebalanceMetaHandler(mss *grid.MSS) (np grid.NoPayload, nerr *grid.RemoteErr) {
    	objAPI := newObjectLayerFn()
    	if objAPI == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 53.2K bytes
    - Viewed (0)
Back to top