mirror of
https://github.com/minio/minio.git
synced 2026-11-08 00:38:12 +00:00
erasure: Fix block index matching.
This patch fixes an important issue of block reconstruction upon block corruption.
This commit is contained in:
1 parent
18b3871705
commit
c6ac3fa6db
2 files changed
+12
-10
No files matched your search
@@ -231,6 +231,7 @@ func checkDisksConsistency(formatConfigs []*formatConfigV1) error {
|
||||
// Collect currently available disk uuids.
|
||||
for index, formatConfig := range formatConfigs {
|
||||
if formatConfig == nil {
|
||||
disks[index] = ""
|
||||
continue
|
||||
}
|
||||
disks[index] = formatConfig.XL.Disk
|
||||
|
||||
Reference in new issue
Block a user