Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for SinglePool (0.08 sec)

  1. cmd/erasure-server-pool-decom.go

    }
    
    // Decommission - start decommission session.
    func (z *erasureServerPools) Decommission(ctx context.Context, indices ...int) error {
    	if len(indices) == 0 {
    		return errInvalidArgument
    	}
    
    	if z.SinglePool() {
    		return errInvalidArgument
    	}
    
    	// Make pool unwritable before decommissioning.
    	if err := z.StartDecommission(ctx, indices...); err != nil {
    		return err
    	}
    
    	go func() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 13:20:19 UTC 2024
    - 42.2K bytes
    - Viewed (0)
Back to top