mirror of
https://github.com/minio/minio.git
synced 2025-11-21 10:16:03 -05:00
XL: Refactor usage of reduceErrs and consistent behavior. (#2240)
This refactor is also needed in lieu of our quorum requirement change for the newly understood logic behind klauspost/reedsolom implementation.
This commit is contained in:
committed by
Anand Babu (AB) Periasamy
parent
f67c930731
commit
cef26fd6ea
@@ -129,7 +129,7 @@ func testPutObjectPartDiskNotFound(obj ObjectLayer, instanceType string, disks [
|
||||
}
|
||||
|
||||
// Remove some random disk.
|
||||
for _, disk := range disks[:7] {
|
||||
for _, disk := range disks[:6] {
|
||||
removeAll(disk)
|
||||
}
|
||||
|
||||
@@ -165,7 +165,10 @@ func testPutObjectPartDiskNotFound(obj ObjectLayer, instanceType string, disks [
|
||||
}
|
||||
|
||||
// This causes quorum failure verify.
|
||||
removeAll(disks[len(disks)-1])
|
||||
disks = disks[len(disks)-3:]
|
||||
for _, disk := range disks {
|
||||
removeAll(disk)
|
||||
}
|
||||
|
||||
// Object part upload should fail with quorum not available.
|
||||
testCase := createPartCases[len(createPartCases)-1]
|
||||
|
||||
Reference in New Issue
Block a user