fix: after saveRebalanceStats cancel will be empty (#21597)

This commit is contained in:
jiuker
2025-09-20 12:51:57 +08:00
committed by GitHub
parent 756f3c8142
commit 456d9462e5
2 changed files with 10 additions and 14 deletions

View File

@@ -53,8 +53,9 @@ type erasureServerPools struct {
poolMetaMutex sync.RWMutex
poolMeta poolMeta
rebalMu sync.RWMutex
rebalMeta *rebalanceMeta
rebalMu sync.RWMutex
rebalMeta *rebalanceMeta
rebalCancel context.CancelFunc
deploymentID [16]byte
distributionAlgo string