correct count for free ec slots, avoid removing generated shards

This commit is contained in:
Chris Lu committed 2019-06-04 01:49:51 -07:00
1 parent 6cea23d091
commit 06133ae98f
2 files changed
+5 -9

No files matched your search

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