mirror of
https://github.com/minio/minio.git
synced 2026-02-04 18:00:15 -05:00
Signal stop-rebalance to all rebalancing pools (#16438)
This commit is contained in:
committed by
GitHub
parent
5c1a4ba5f9
commit
71c95ad0d0
@@ -353,6 +353,7 @@ func (z *erasureServerPools) rebalanceBuckets(ctx context.Context, poolIdx int)
|
||||
z.rebalMu.Lock()
|
||||
z.rebalMeta.PoolStats[poolIdx].Info.Status = rebalStopped
|
||||
z.rebalMeta.PoolStats[poolIdx].Info.EndTime = now
|
||||
z.rebalMeta.cancel = nil // remove the already used context.CancelFunc
|
||||
z.rebalMu.Unlock()
|
||||
|
||||
rebalDone = true
|
||||
|
||||
Reference in New Issue
Block a user