mirror of
https://github.com/pgsty/minio.git
synced 2026-07-23 22:16:15 +03:00
server: Implement --ignore-disks for ignoring disks from healing. (#2158)
By default server heals/creates missing directories and re-populates `format.json`, in some scenarios when disk is down for maintainenance it would be beneficial for users to ignore such disks rather than mistakenly using `root` partition. Fixes #2128
This commit is contained in:
committed by
Anand Babu (AB) Periasamy
parent
0793237d94
commit
bdff0848ed
+1
-1
@@ -132,7 +132,7 @@ func TestNewXL(t *testing.T) {
|
||||
defer removeAll(disk)
|
||||
}
|
||||
// Initializes all erasure disks
|
||||
_, err := newXLObjects(erasureDisks)
|
||||
_, err := newXLObjects(erasureDisks, nil)
|
||||
if err != nil {
|
||||
t.Fatalf("Unable to initialize erasure, %s", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user