Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for updateRebalanceStats (0.2 sec)

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

    		if errors.Is(err, errConfigNotFound) {
    			return nil
    		}
    		return err
    	}
    
    	z.rebalMu.Lock()
    	if len(r.PoolStats) == len(z.serverPools) {
    		z.rebalMeta = r
    	} else {
    		z.updateRebalanceStats(ctx)
    	}
    	z.rebalMu.Unlock()
    
    	return nil
    }
    
    // updates rebalance.bin from let's say 2 pool setup in the middle
    // of a rebalance, was expanded can cause z.rebalMeta to be outdated
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 19:29:28 GMT 2024
    - 27.2K bytes
    - Viewed (0)
Back to top