mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05:00
avoid using 10MiB EC buffers in maxAPI calculations (#19665)
max requests per node is more conservative in its value causing premature serialization of the calls, avoid it for newer deployments.
This commit is contained in:
@@ -194,6 +194,11 @@ func findDiskIndex(refFormat, format *formatErasureV3) (int, int, error) {
|
||||
return -1, -1, fmt.Errorf("DriveID: %s not found", format.Erasure.This)
|
||||
}
|
||||
|
||||
// Legacy returns 'true' if distribution algo is CRCMOD
|
||||
func (s *erasureSets) Legacy() (ok bool) {
|
||||
return s.distributionAlgo == formatErasureVersionV2DistributionAlgoV1
|
||||
}
|
||||
|
||||
// connectDisks - attempt to connect all the endpoints, loads format
|
||||
// and re-arranges the disks in proper position.
|
||||
func (s *erasureSets) connectDisks() {
|
||||
|
||||
Reference in New Issue
Block a user