mirror of
https://github.com/minio/minio.git
synced 2025-11-09 13:39:46 -05:00
server: Fixes for various conditions
- Fix distributed branch to be able to run FS version. - Fix distributed branch to be able to run XL local disks. - Ignore initialization failures of notification and bucket policies, the codepath should load whatever is possible.
This commit is contained in:
@@ -104,13 +104,8 @@ const (
|
||||
func prepForInit(disks []string, sErrs []error, diskCount int) InitActions {
|
||||
// Count errors by error value.
|
||||
errMap := make(map[error]int)
|
||||
// If loadAllFormats returned successfully
|
||||
if sErrs == nil {
|
||||
errMap[nil] = diskCount
|
||||
} else {
|
||||
for _, err := range sErrs {
|
||||
errMap[err]++
|
||||
}
|
||||
for _, err := range sErrs {
|
||||
errMap[err]++
|
||||
}
|
||||
|
||||
quorum := diskCount/2 + 1
|
||||
|
||||
Reference in New Issue
Block a user