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:
2 files changed
+66
-20
No files matched your search
@@ -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()
|
||||
|
||||
Reference in new issue
Block a user