correct count for free ec slots, avoid removing generated shards
This commit is contained in:
@@ -256,6 +256,7 @@ func pickOneEcNodeAndMoveOneShard(ctx context.Context, commandEnv *commandEnv, a
|
||||
}
|
||||
|
||||
destEcNode.freeEcSlot--
|
||||
existingLocation.freeEcSlot++
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user