fix: totalDrives reported in speedTest for multiple-pools (#13770)

totalDrives reported in speedTest result were wrong
for multiple pools, this PR fixes this.

Bonus: add support for configurable storage-class, this
allows us to test REDUCED_REDUNDANCY to see further
maximum throughputs across the cluster.
This commit is contained in:
Harshavardhana authored and GitHub committed 2021-11-29 09:05:46 -08:00
1 parent 4c0f48c548
commit 99d87c5ca2
8 files changed
+47 -34

No files matched your search

+2 -1
View File
@@ -18,7 +18,7 @@
package cmd
const (
peerRESTVersion = "v16" // Add new ServiceSignals.
peerRESTVersion = "v17" // Add "storage-class" option for SpeedTest
peerRESTVersionPrefix = SlashSeparator + peerRESTVersion
peerRESTPrefix = minioReservedBucketPath + "/peer"
peerRESTPath = peerRESTPrefix + peerRESTVersionPrefix
@@ -89,6 +89,7 @@ const (
peerRESTSize = "size"
peerRESTConcurrent = "concurrent"
peerRESTDuration = "duration"
peerRESTStorageClass = "storage-class"
peerRESTListenBucket = "bucket"
peerRESTListenPrefix = "prefix"