mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-06 20:17:38 +01:00
correct count for free ec slots, avoid removing generated shards
This commit is contained in:
1 parent
6cea23d091
commit
06133ae98f
2 files changed
+5
-9
No files matched your search
@@ -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