mirror of
https://github.com/minio/minio.git
synced 2026-02-04 18:00:15 -05:00
collapse two distinct calls into single RenameData() call (#12093)
This is an optimization by reducing one extra system call, and many network operations. This reduction should increase the performance for small file workloads.
This commit is contained in:
@@ -476,7 +476,7 @@ func TestPutObjectNoQuorum(t *testing.T) {
|
||||
// in a 16 disk Erasure setup. The original disks are 'replaced' with
|
||||
// naughtyDisks that fail after 'f' successful StorageAPI method
|
||||
// invocations, where f - [0,4)
|
||||
for f := 0; f < 4; f++ {
|
||||
for f := 0; f < 2; f++ {
|
||||
diskErrors := make(map[int]error)
|
||||
for i := 0; i <= f; i++ {
|
||||
diskErrors[i] = nil
|
||||
|
||||
Reference in New Issue
Block a user