- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for newFormats (0.07 sec)
-
cmd/format-erasure_test.go
if newFormats == nil { t.Fatal("Unexpected failure") } // Check if deployment IDs are preserved. for i := range newFormats { for j := range newFormats[i] { if newFormats[i][j] == nil { continue } if newFormats[i][j].ID != quorumFormat.ID { t.Fatal("Deployment id in the new format is lost") } } } } func BenchmarkInitStorageDisks256(b *testing.B) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Apr 15 08:25:46 UTC 2024 - 12.9K bytes - Viewed (0) -
cmd/format-erasure.go
if errors.Is(errs[i*setDriveCount+j], errUnformattedDisk) { newFormats[i][j] = &formatErasureV3{} newFormats[i][j].ID = refFormat.ID newFormats[i][j].Format = refFormat.Format newFormats[i][j].Version = refFormat.Version newFormats[i][j].Erasure.This = refFormat.Erasure.Sets[i][j] newFormats[i][j].Erasure.Sets = refFormat.Erasure.Sets newFormats[i][j].Erasure.Version = refFormat.Erasure.Version
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 23.2K bytes - Viewed (0) -
cmd/fmt-gen.go
for i := 0; i < setCount; i++ { // for each erasure set for j := 0; j < setDriveCount; j++ { newFormat := format.Clone() newFormat.Erasure.This = format.Erasure.Sets[i][j] if deploymentID != "" { newFormat.ID = deploymentID } drive := pool.Endpoints[i*setDriveCount+j] fmtBytes, err := json.Marshal(newFormat) if err != nil { //nolint:gocritic
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Aug 13 22:22:04 UTC 2024 - 3.7K bytes - Viewed (0)