mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-20 07:47:58 +08:00
Unify the re-balancing logic for ec.encode
with ec.balance
. (#6339)
Among others, this enables recent changes related to topology aware re-balancing at EC encoding time.
This commit is contained in:
@@ -32,6 +32,7 @@ func errorCheck(got error, want string) error {
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func TestParseReplicaPlacementArg(t *testing.T) {
|
||||
getDefaultReplicaPlacementOrig := getDefaultReplicaPlacement
|
||||
getDefaultReplicaPlacement = func(commandEnv *CommandEnv) (*super_block.ReplicaPlacement, error) {
|
||||
|
Reference in New Issue
Block a user