correct count for free ec slots, avoid removing generated shards

This commit is contained in:
Chris Lu
2019-06-04 01:49:51 -07:00
parent 6cea23d091
commit 06133ae98f
2 changed files with 5 additions and 9 deletions

View File

@@ -256,6 +256,7 @@ func pickOneEcNodeAndMoveOneShard(ctx context.Context, commandEnv *commandEnv, a
}
destEcNode.freeEcSlot--
existingLocation.freeEcSlot++
return nil
}