mirror of
https://github.com/minio/minio.git
synced 2024-12-24 22:25:54 -05:00
No need to delete file inside erasure code (#1732)
This commit is contained in:
parent
293d246f95
commit
ed43d5e02b
@ -30,12 +30,6 @@ func (e erasure) cleanupCreateFileOps(volume, path string, writers []io.WriteClo
|
||||
errorIf(err, "Failed to close writer.")
|
||||
}
|
||||
}
|
||||
// Remove any temporary written data.
|
||||
for _, disk := range e.storageDisks {
|
||||
if err := disk.DeleteFile(volume, path); err != nil {
|
||||
errorIf(err, "Unable to delete file.")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// WriteErasure reads predefined blocks, encodes them and writes to
|
||||
|
Loading…
Reference in New Issue
Block a user