mirror of
https://github.com/minio/minio.git
synced 2025-01-23 12:43:16 -05:00
remove restriction for multi pool distribution algo
This commit is contained in:
parent
275f7a63e8
commit
0d057c777a
@ -107,11 +107,6 @@ func newErasureServerPools(ctx context.Context, endpointServerPools EndpointServ
|
||||
return nil, fmt.Errorf("All serverPools should have same deployment ID expected %s, got %s", deploymentID, formats[i].ID)
|
||||
}
|
||||
|
||||
// Validate if users brought different different distribution algo pools.
|
||||
if distributionAlgo != formats[i].Erasure.DistributionAlgo {
|
||||
return nil, fmt.Errorf("All serverPools should have same distributionAlgo expected %s, got %s", distributionAlgo, formats[i].Erasure.DistributionAlgo)
|
||||
}
|
||||
|
||||
z.serverPools[i], err = newErasureSets(ctx, ep.Endpoints, storageDisks[i], formats[i], commonParityDrives)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
Loading…
x
Reference in New Issue
Block a user