Large File Support (#21)

* disable multipart puts and add a large file test

* read random bytes rather than generate from string
This commit is contained in:
dani authored and GitHub committed 2024-08-13 15:59:58 -04:00
1 parent 589e435ff1
commit dad21afc00
2 files changed
+66 -20

No files matched your search

+1
View File
@@ -512,6 +512,7 @@ func (sp *StoragePlugin) PutObject(ctx context.Context, req *pb.PutObjectRequest
"x-amz-checksum-algorithm": "SHA256",
"x-amz-checksum-sha256": checksum,
},
DisableMultipart: true,
})
if err != nil {
return nil, errorToStatus(codes.Internal, fmt.Sprintf("failed to put object into minio: %v", err), err, req).Err()