mirror of
https://github.com/pgsty/minio.git
synced 2026-08-08 23:33:30 +03:00
XL: Change minimum disks supported to 6 now. (#2023)
This change co-incides with another patch set which reduces the writeQuorum requirement. With the write quorum change it is now possible to support 6 disk configuration.
This commit is contained in:
committed by
Anand Babu (AB) Periasamy
parent
b6b9e88e47
commit
3ac39ff107
+4
-4
@@ -45,9 +45,9 @@ func TestCheckSufficientDisks(t *testing.T) {
|
||||
disks []string
|
||||
expectedErr error
|
||||
}{
|
||||
// Even number of disks '8'.
|
||||
// Even number of disks '6'.
|
||||
{
|
||||
disks[0:8],
|
||||
disks[0:6],
|
||||
nil,
|
||||
},
|
||||
// Even number of disks '12'.
|
||||
@@ -66,9 +66,9 @@ func TestCheckSufficientDisks(t *testing.T) {
|
||||
append(disks[0:16], "/mnt/unsupported"),
|
||||
errXLMaxDisks,
|
||||
},
|
||||
// Lesser than minimum number of disks < 8.
|
||||
// Lesser than minimum number of disks < 6.
|
||||
{
|
||||
disks[0:7],
|
||||
disks[0:5],
|
||||
errXLMinDisks,
|
||||
},
|
||||
// Odd number of disks, not divisible by '2'.
|
||||
|
||||
Reference in New Issue
Block a user