mirror of
https://github.com/minio/minio.git
synced 2025-11-24 19:46:16 -05:00
Simplify putObject by not breaking the stream into parts (#7199)
We broke into parts previously as we had checksum for the entire file to tax less on memory and to have better TTFB. We dont need to now, after the streaming-bitrot change.
This commit is contained in:
committed by
kannappanr
parent
9c90a28546
commit
a343d14f19
@@ -311,9 +311,9 @@ func TestDisksWithAllParts(t *testing.T) {
|
||||
|
||||
diskFailures := make(map[int]string)
|
||||
// key = disk index, value = part name with hash mismatch
|
||||
diskFailures[0] = "part.3"
|
||||
diskFailures[0] = "part.1"
|
||||
diskFailures[3] = "part.1"
|
||||
diskFailures[15] = "part.2"
|
||||
diskFailures[15] = "part.1"
|
||||
|
||||
for diskIndex, partName := range diskFailures {
|
||||
for _, info := range partsMetadata[diskIndex].Erasure.Checksums {
|
||||
@@ -354,5 +354,4 @@ func TestDisksWithAllParts(t *testing.T) {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user